1. 11 1月, 2015 3 次提交
  2. 02 1月, 2015 1 次提交
  3. 30 10月, 2014 1 次提交
  4. 07 7月, 2014 1 次提交
  5. 06 7月, 2014 1 次提交
  6. 29 6月, 2014 1 次提交
    • S
      Always pass a column with a type object to quote · b404613c
      Sean Griffin 提交于
      The only case where we got a column that was not `nil`, but did not
      respond to `cast_type` was when type casting the default value during
      schema creation. We can look up the cast type, and add that object to
      the column definition. Will allow us to consistently rely on the type
      objects for type casting in all directions.
      b404613c
  7. 18 6月, 2014 1 次提交
    • S
      Don't use column object for type casting in `quoting` · 0336efaa
      Sean Griffin 提交于
      We're never going to be able to use the attribute object here, however,
      so let's just accept the ugly demeter violation here for now.
      
      Remove test cases which were either redundant with other tests in the
      file, or were actually testing the type objects (which are tested
      elsewhere)
      0336efaa
  8. 03 6月, 2014 1 次提交
  9. 27 5月, 2014 3 次提交
  10. 26 5月, 2014 1 次提交
  11. 20 12月, 2013 1 次提交
  12. 10 8月, 2013 1 次提交
  13. 09 8月, 2013 1 次提交
  14. 28 2月, 2013 1 次提交
  15. 07 2月, 2013 1 次提交
  16. 28 1月, 2013 1 次提交
  17. 27 1月, 2013 1 次提交
    • D
      Fix cases where delete_records on a has_many association caused errors · 0a71c7b8
      Derek Kraan 提交于
      because of an ambiguous column name. This happened if the association
      model had a default scope that referenced a third table, and the third
      table also referenced the original table (with an identical
      foreign_key).
      
      Mysql requires that ambiguous columns are deambiguated by using the full
      table.column syntax. Postgresql and Sqlite use a different syntax for
      updates altogether (and don't tolerate table.name syntax), so the fix
      requires always including the full table.column and discarding it later
      for Sqlite and Postgresql.
      0a71c7b8
  18. 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
  19. 10 3月, 2012 1 次提交
  20. 24 1月, 2012 1 次提交
  21. 21 1月, 2012 1 次提交
  22. 06 9月, 2011 1 次提交
  23. 15 4月, 2011 2 次提交
  24. 14 4月, 2011 1 次提交
  25. 30 12月, 2010 1 次提交
  26. 13 10月, 2010 8 次提交
  27. 04 8月, 2010 1 次提交
  28. 25 4月, 2010 1 次提交