aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/attribute_methods
Commit message (Expand)AuthorAgeFilesLines
* 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
| * avoid nil.dupAkira Matsuda2011-02-071-1/+1
| * make sure de-serialization happens on object instantiationAaron Patterson2011-02-012-3/+2
| * store the serialized column values in the @attributes hashAaron Patterson2011-02-011-1/+2
| * move the coders to the serialized_attributes hashAaron Patterson2011-02-011-7/+3
| * Make before_type_cast available for datetime fieldsAkira Matsuda2011-02-011-2/+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
| * stop redifining methods on every call to set_primary_keyAaron Patterson2010-12-241-4/+11
| * returning id (for some yet to be discovered reason)Aaron Patterson2010-12-201-1/+1
| * define_attr_method must serialize nil correctlyAaron Patterson2010-12-201-2/+6
| * if there is no base name, we cannot determine a primary keyAaron Patterson2010-12-201-2/+4
| * remove some lasignsAaron Patterson2010-12-201-6/+6
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-204-12/+17
|\|
| * Ensure that boolean false is properly serialized [#6079 state:resolved]Aditya Sanghi2010-12-081-1/+2
| * Fix indentation hereSantiago Pastorino2010-12-041-7/+8
| * attributes_before_type_cast are just the value of @attributesSantiago Pastorino2010-12-041-1/+1
| * class inheritable attributes is used no more! all internal use of class inher...Josh Kalderimis2010-11-202-3/+6
* | Remove objects from identity map if save! failed, otherwise finding again the...Emilio Tagua2010-11-191-0/+3
* | Remove objects from identity map if save failed, otherwise finding again the ...Emilio Tagua2010-11-191-0/+2
|/
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-3/+4
* Make should_record_timestamps? serialization aware rather than object#changed?Pratik Naik2010-11-021-4/+0
* Ensure save always updates timestamps when serialized attributes are presentPratik Naik2010-11-021-0/+4
* No need for parenthesis hereSantiago Pastorino2010-10-171-1/+1
* no need to check for nilNeeraj Singh2010-10-171-1/+1