1. 21 7月, 2012 1 次提交
  2. 20 7月, 2012 1 次提交
  3. 18 7月, 2012 5 次提交
  4. 17 7月, 2012 1 次提交
  5. 15 7月, 2012 1 次提交
  6. 14 7月, 2012 4 次提交
  7. 13 7月, 2012 4 次提交
  8. 11 7月, 2012 1 次提交
  9. 07 7月, 2012 3 次提交
  10. 06 7月, 2012 3 次提交
    • D
      Disable query cache for lock queries · 75b340d1
      Damir Zekic 提交于
      Fixes #867
      75b340d1
    • J
      Show the records in Relation#inspect · 07314e64
      Jon Leighton 提交于
      The reason for removing the previous implementation of `#inspect` was
      that it hid from you that you were dealing with a `Relation` rather than
      an `Array`.
      
      But it is still useful to be able to see the records, particularly if you're
      writing something like the following in tests:
      
          assert_equal [foo], Post.where(:bar)
      
      If the assertion fails, you want to see what records were actually
      loaded.
      
      So this implementation makes it clear that you've got a `Relation`, but
      also shows your records.
      07314e64
    • P
      Made ArgumentError messages consistent. · a1ad02a4
      Philip Arndt 提交于
      a1ad02a4
  11. 05 7月, 2012 1 次提交
    • F
      fix quoting for ActiveSupport::Duration instances · b5bb3535
      Francesco Rodriguez 提交于
      This patch fixes quoting for ActiveSupport::Duration instances:
      
          # before
          >> ActiveRecord::Base.connection.quote 30.minutes
          => "'--- 1800\n...\n'"
      
          # after
          >> ActiveRecord::Base.connection.quote 30.minutes
          => "1800"
      
      Also, adds a test for type casting ActiveSupport::Duration instances.
      
      Related to #1119.
      b5bb3535
  12. 04 7月, 2012 4 次提交
  13. 03 7月, 2012 1 次提交
  14. 02 7月, 2012 1 次提交
  15. 01 7月, 2012 3 次提交
  16. 30 6月, 2012 2 次提交
  17. 29 6月, 2012 1 次提交
  18. 28 6月, 2012 3 次提交