1. 23 10月, 2016 1 次提交
  2. 03 10月, 2016 1 次提交
  3. 22 9月, 2015 1 次提交
  4. 08 2月, 2015 1 次提交
    • S
      rm `Type#number?` · 1492e83e
      Sean Griffin 提交于
      This predicate is only used in `query_attribute`, and is relatively easy
      to remove without adding a bunch of is a checks.
      1492e83e
  5. 31 1月, 2015 1 次提交
  6. 27 8月, 2014 1 次提交
  7. 09 9月, 2012 1 次提交
    • 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
  8. 08 9月, 2012 1 次提交
  9. 03 8月, 2012 1 次提交
  10. 07 2月, 2012 1 次提交
  11. 28 3月, 2010 1 次提交
  12. 22 1月, 2010 1 次提交
    • P
      Revert "Refactoring attributes/types" [#3348 state:open] · 6d30002a
      Pratik Naik 提交于
      This reverts commit f936a1f1.
      
      Conflicts:
      
      	activerecord/lib/active_record.rb
      	activerecord/lib/active_record/base.rb
      
      Revert "Fixed: #without_typecast should only disable typecasting on the duplicated attributes" [#3387 state:open]
      
      This reverts commit 28319964.
      
      Reason :
      
        It's not generating attribute methods properly, making object.column 5x slower.
      6d30002a
  13. 18 10月, 2009 1 次提交
  14. 31 7月, 2009 1 次提交