aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* removed unnecessary translator objectAaron Patterson2012-02-081-16/+0
* use the key name yielded to the fetch blockAaron Patterson2012-02-081-9/+7
* return early if the cast attribute has been cachedAaron Patterson2012-02-081-11/+16
* always call `read_attribute` from the reader methodAaron Patterson2012-02-081-14/+12
* cache attribute if it is supposed to be cachedAaron Patterson2012-02-071-1/+5
* give each PG type a `type` method and decortate tz attributesAaron Patterson2012-02-072-1/+22
* moving column types to an ivar on the resultAaron Patterson2012-02-071-1/+5
* wrap and cache columns for typecastingAaron Patterson2012-02-071-0/+10
* moved attribute translation to an objectAaron Patterson2012-02-071-16/+10
* moved most of the evald code in to regular ruby codeAaron Patterson2012-02-073-17/+32
* copy the columns hash to the active record instances, typecast using columns ...Aaron Patterson2012-02-073-36/+64
* adding a comment for myselfAaron Patterson2012-02-061-8/+8
* delegate attribute typecasting to the columnAaron Patterson2012-02-061-16/+2
* pg supports real booleans, so handle the case when `true` is returnedAaron Patterson2012-02-061-2/+5
* The primary key is always initialized in the @attributes hash to nil (unlessAaron Patterson2012-01-251-5/+1
* use fetch rather than both Hash#key? and Hash#[]Aaron Patterson2012-01-251-49/+51
* Revert "just use an alias. The target method is public, so make this one pub...Aaron Patterson2012-01-201-1/+4
* just use an alias. The target method is public, so make this one publicAaron Patterson2012-01-191-4/+1
* Expanded rdoc about primary keys being protected from mass assignment. Joost Baaij2012-01-061-1/+2
* Support configuration on ActiveRecord::Model.Jon Leighton2011-12-284-6/+10
* Deal with global config better between AR::Base and AR::ModelJon Leighton2011-12-242-7/+3
* 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-222-27/+33
* remove deprecated set and original methods for table_name, primary_key, etcSergey Nartimov2011-12-211-9/+0
* remove deprecated underscore versions of attribute methodsSergey Nartimov2011-12-211-32/+0
* Fix the build on postgres. Note: we should probably actually make schema muta...Jon Leighton2011-12-161-1/+1
* Don't store defaults in the schema cacheJon Leighton2011-12-161-2/+2
* Cache columns at the model level.Jon Leighton2011-12-161-2/+0
* Split out most of the AR::Base code into separate modules :cake:Jon Leighton2011-12-151-0/+12
* Fix #3987.Jon Leighton2011-12-151-0/+2
* Stop the build asploding on 1.8.7Jon Leighton2011-12-141-0/+2
* Use a separate module for 'external' attribute methods.Jon Leighton2011-12-142-17/+12
* use the schema cache when asking for the primary keyAaron Patterson2011-12-121-1/+1
* fixing eval'd line numbers.Aaron Patterson2011-12-081-2/+2
* Fix #3837.Jon Leighton2011-12-031-11/+5
* Revert "Roflscaling!" (for now)Jon Leighton2011-12-022-8/+11
* Fewer string allocations in attribute methodJon Leighton2011-12-011-4/+4
* Roflscaling!Jon Leighton2011-12-012-11/+8
* Create method with known identifier then alias into place.Jon Leighton2011-12-011-25/+21
* Remove some unnecessary code etcJon Leighton2011-12-012-26/+11
* Add test for read_attribute(:id) with non-standard PK.Jon Leighton2011-12-012-4/+18
* Remove the need for type_cast_attribute.Jon Leighton2011-12-013-42/+47
* Get rid of the underscore versions of attribute methods!Jon Leighton2011-12-013-6/+33
* Don't rely on underscore-prefixed attribute methods.Jon Leighton2011-12-013-48/+80
* If the table behind has no primary key, do not ask again and just return nil.Julius de Bruijn2011-11-301-1/+2
* consistencyJon Leighton2011-11-303-16/+16
* Don't check column type, you might implement a custom coder that serializes t...Jon Leighton2011-11-301-1/+1
* omg computer science!Jon Leighton2011-11-302-22/+44
* Don't need second paramJon Leighton2011-11-302-4/+4