1. 22 9月, 2012 1 次提交
  2. 21 9月, 2012 3 次提交
  3. 20 9月, 2012 1 次提交
  4. 19 9月, 2012 2 次提交
  5. 18 9月, 2012 1 次提交
  6. 17 9月, 2012 3 次提交
  7. 16 9月, 2012 2 次提交
  8. 14 9月, 2012 1 次提交
    • D
      Moves column dump specific code to a module included in AbstractAdapter · 4544d2bc
      Dan McClain 提交于
      Having column related schema dumper code in the AbstractAdapter. The
      code remains the same, but by placing it in the AbstractAdapter, we can
      then overwrite it with Adapter specific methods that will help with
      Adapter specific data types.
      
      The goal of moving this code here is to create a new migration key for
      PostgreSQL's array type. Since any datatype can be an array, the goal is
      to have ':array => true' as a migration option, turning the datatype
      into an array. I've implemented this in postgres_ext, the syntax is
      shown here: https://github.com/dockyard/postgres_ext#arrays
      
      Adds array migration support
      
      Adds array_test.rb outlining the test cases for array data type
      Adds pg_array_parser to Gemfile for testing
      Adds pg_array_parser to postgresql_adapter (unused in this commit)
      
      Adds schema dump support for arrays
      
      Adds postgres array type casting support
      
      Updates changelog, adds note for inet and cidr support, which I forgot to add before
      
      Removing debugger, Adds pg_array_parser to JRuby platform
      
      Removes pg_array_parser requirement, creates ArrayParser module used by
      PostgreSQLAdapter
      4544d2bc
  9. 13 9月, 2012 1 次提交
  10. 12 9月, 2012 2 次提交
  11. 09 9月, 2012 2 次提交
    • E
      Raise MissingAttributeError on query methods · 4f107da4
      Ernie Miller 提交于
      When calling a query method on an attribute that was not selected by
      an ActiveRecord query, an ActiveModel::MissingAttributeError is not
      raised. Instead, a nil value is returned, which will return false once
      cast to boolean.
      
      This is undesirable, as we should not give the impression that we know
      the attribute's boolean value when we haven't loaded the attribute's
      (possibly) non-boolean value from the database.
      
      This issue is present on versions going back as far as 2.3, at least.
      4f107da4
    • F
      improve AR CHANGELOG [ci skip] · 65ce6fb0
      Francesco Rodriguez 提交于
      65ce6fb0
  12. 08 9月, 2012 3 次提交
  13. 07 9月, 2012 3 次提交
  14. 06 9月, 2012 3 次提交
  15. 05 9月, 2012 1 次提交
  16. 29 8月, 2012 1 次提交
    • X
      CHANGELOGs are now per branch · 810a50da
      Xavier Noria 提交于
      Changes in old branches needed to be manually synched in CHANGELOGs of newer ones.
      This has proven to be brittle, sometimes one just forgets this manual step.
      With this commit we switch to CHANGELOGs per branch. When a new major version is
      cut from master, the CHANGELOGs in master start being blank.
      
      A link to the CHANGELOG of the previous branch allows anyone interested to
      follow the history.
      810a50da
  17. 26 8月, 2012 2 次提交
  18. 25 8月, 2012 1 次提交
  19. 22 8月, 2012 1 次提交
  20. 21 8月, 2012 2 次提交
  21. 18 8月, 2012 1 次提交
  22. 17 8月, 2012 1 次提交
  23. 16 8月, 2012 1 次提交
    • A
      Fix occasional microsecond conversion inaccuracy · 53ca22f2
      Ari Pollak 提交于
      ActiveRecord::ConnectionAdapters::Column#microseconds did an unnecessary
      conversion to from Rational to float when calculating the integer number
      of microseconds. Some terminating decimal numbers in base10 are
      repeating decimal numbers in base2 (the format of float), and
      occasionally this causes a rounding error.
      Patch & explanation originally from Logan Bowers.
      53ca22f2
  24. 15 8月, 2012 1 次提交