aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods/read.rb
Commit message (Expand)AuthorAgeFilesLines
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-281-1/+4
* Deal with global config better between AR::Base and AR::ModelJon Leighton2011-12-241-4/+1
* Doh, remove debugging lineJon Leighton2011-12-231-1/+0
* Fix #4046.Jon Leighton2011-12-231-4/+3
* Make read_attribute code path accessible at the class levelJon Leighton2011-12-221-19/+21
* Stop the build asploding on 1.8.7Jon Leighton2011-12-141-0/+2
* Use a separate module for 'external' attribute methods.Jon Leighton2011-12-141-14/+9
* fixing eval'd line numbers.Aaron Patterson2011-12-081-2/+2
* Revert "Roflscaling!" (for now)Jon Leighton2011-12-021-6/+9
* Fewer string allocations in attribute methodJon Leighton2011-12-011-4/+4
* Roflscaling!Jon Leighton2011-12-011-9/+6
* Create method with known identifier then alias into place.Jon Leighton2011-12-011-25/+21
* Remove some unnecessary code etcJon Leighton2011-12-011-7/+8
* Add test for read_attribute(:id) with non-standard PK.Jon Leighton2011-12-011-4/+4
* Remove the need for type_cast_attribute.Jon Leighton2011-12-011-31/+31
* Get rid of the underscore versions of attribute methods!Jon Leighton2011-12-011-4/+0
* Don't rely on underscore-prefixed attribute methods.Jon Leighton2011-12-011-30/+61
* consistencyJon Leighton2011-11-301-10/+10
* Don't need second paramJon Leighton2011-11-301-3/+3
* No longer need to undef id as we are defining it ourselvesJon Leighton2011-11-301-3/+0
* Extract attribute serialization code into a separate moduleJon Leighton2011-11-301-28/+5
* Use inheritance to avoid special-case code for the 'id' methodJon Leighton2011-11-301-4/+0
* Speed up attribute invocation by checking if both name and calls are compilable.José Valim2011-11-141-1/+1
* Revert "Raise error on unknown primary key."Jon Leighton2011-10-051-3/+3
* Raise error on unknown primary key.Jon Leighton2011-10-051-3/+3
* Add deprecation for doing `attribute_method_suffix ''`Jon Leighton2011-09-131-2/+0
* only calculate method name onceAaron Patterson2011-06-301-2/+3
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
* Avoid define_method if possible.José Valim2011-04-191-1/+1
* Return nil from read_attribute(:foo) if 'foo' is not present in the @attribut...Jon Leighton2011-04-151-1/+1
* Undo performances regressions I introduced in bbe0a507f287c20ab4ae8a244fbfc81...Jon Leighton2011-04-151-5/+23
* Remove unnecessary code from define_read_method and add assertion to make sur...Jon Leighton2011-04-151-7/+4
* Fixes performance issue introduced in 3.0.6 (issue #6695)Stian Grytøyr2011-04-141-3/+5
* use class_eval with a string when it's possibleSantiago Pastorino2011-03-221-3/+7
* Allow to read and write AR attributes with non valid identifiersSantiago Pastorino2011-03-221-1/+4
* make sure de-serialization happens on object instantiationAaron Patterson2011-02-011-1/+1
* move the coders to the serialized_attributes hashAaron Patterson2011-02-011-7/+3
* use an identity conversion to avoid conditional codesAaron Patterson2011-01-281-2/+2
* join the cult of cargo. reduce the number of NoMethodErrors in the systemAaron Patterson2011-01-071-1/+1
* no need for to_symAaron Patterson2011-01-071-1/+1
* String#insert() mutates the string, so no need for lasgnAaron Patterson2011-01-071-1/+1
* fewer funcalls to the cached attributes variableAaron Patterson2011-01-071-1/+1
* Ensure that boolean false is properly serialized [#6079 state:resolved]Aditya Sanghi2010-12-081-1/+2
* No need for parenthesis hereSantiago Pastorino2010-10-171-1/+1
* no need to check for nilNeeraj Singh2010-10-171-1/+1
* Cheaper attribute reads and respond_to?. Add underscore-prefixed method alias...Jeremy Kemper2010-09-091-3/+7
* Cache unserialized attributesJeremy Kemper2010-09-091-5/+9
* Revert "Refactoring attributes/types" [#3348 state:open]Pratik Naik2010-01-221-4/+45
* Refactoring attributes/types [#3348 state:resolved]Eric Chapweske2009-10-171-45/+4
* Ruby 1.9.2: Object#id is gone nowJeremy Kemper2009-08-071-1/+1