aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* 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
* No longer need to undef id as we are defining it ourselvesJon Leighton2011-11-301-3/+0
* Move some serialization stuff out of BaseJon Leighton2011-11-301-0/+42
* Extract attribute serialization code into a separate moduleJon Leighton2011-11-302-28/+47
* Use inheritance to avoid special-case code for the 'id' methodJon Leighton2011-11-303-8/+20
* #id is an alias for whatever the primary key isJon Leighton2011-11-301-1/+1
* fix indentJon Leighton2011-11-301-3/+3
* Deprecate set_primary_key in favour of self.primary_key=Jon Leighton2011-11-291-20/+26
* Speed up attribute invocation by checking if both name and calls are compilable.José Valim2011-11-142-2/+2
* Revert "Raise error on unknown primary key."Jon Leighton2011-10-053-11/+4
* Raise error on unknown primary key.Jon Leighton2011-10-053-4/+11
* Don't require a DB connection when setting primary key.Jon Leighton2011-09-261-1/+0
* Raise error when using write_attribute with a non-existent attribute.Jon Leighton2011-09-131-3/+7
* Add deprecation for doing `attribute_method_suffix ''`Jon Leighton2011-09-131-2/+0
* Alias id= if necessary, rather than relying on method_missingJon Leighton2011-09-131-0/+4
* Revert "to_key on a destroyed model should return nil". Closes #2440Santiago Pastorino2011-08-051-3/+2
* to_key on a destroyed model should return nilSantiago Pastorino2011-07-091-1/+1
* only calculate method name onceAaron Patterson2011-06-301-2/+3
* Remove trailing white-spacesGuillermo Iguaran2011-06-051-1/+1
* Remove extra white spaces on ActiveRecord docs.Sebastian Martinez2011-05-231-1/+1
* Avoid define_method if possible.José Valim2011-04-192-2/+2
* 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
* Remove `#among?` from Active SupportPrem Sichanugrist2011-04-131-1/+1
* Change Object#either? to Object#among? -- thanks to @jamesarosen for the sugg...David Heinemeier Hansson2011-04-121-1/+1
* Using Object#in? and Object#either? in various placesPrem Sichanugrist2011-04-111-1/+2
* Quote find_in_batches ORDER BY clause [#6620 state:resolved]Andrew White2011-03-291-1/+12
* Added new #update_column method.Sebastian Martinez2011-03-271-0/+1
* Fix before_type_cast for timezone aware attributes by caching converted value...Adam Meehan2011-03-231-4/+5
* use class_eval with a string when it's possibleSantiago Pastorino2011-03-222-5/+13
* Allow to read and write AR attributes with non valid identifiersSantiago Pastorino2011-03-222-2/+7
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-153-26/+37
|\
| * primary keys should not be cleared on cache clear, fixing oracle testsAaron Patterson2011-02-081-0/+1