aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/lib/active_record/persistence.rb
Commit message (Expand)AuthorAgeFilesLines
* Clarify what persisted? returns.Uģis Ozols2011-12-251-2/+2
* Remove extra 'be'.Uģis Ozols2011-12-251-1/+1
* removes some unnecessary selfsXavier Noria2011-12-201-3/+3
* Make read_attribute code path accessible at the class levelJon Leighton2011-12-221-8/+0
* Split out most of the AR::Base code into separate modules :cake:Jon Leighton2011-12-151-0/+47
* `ActiveRecord::Base#becomes` should retain the errors of the original object.James Adam2011-11-161-0/+1
* Revert "Raise error on unknown primary key."Jon Leighton2011-10-051-1/+1
* Raise error on unknown primary key.Jon Leighton2011-10-051-1/+1
* Raise error when using write_attribute with a non-existent attribute.Jon Leighton2011-09-131-1/+1
* Make it the responsibility of the connection to hold onto an ARel visitor for...Jon Leighton2011-08-081-1/+1
* Fixed TypoJohn2011-07-241-1/+1
* Destroy association habtm record before destroying the record itself. Fixes i...Tomas D'Stefano2011-07-081-0/+7
* cache column defaults for AR object instantiationAaron Patterson2011-06-271-3/+1
* Do not use default_scope in ActiveRecord::Persistence#touch.Dmitriy Kiriyenko2011-06-071-1/+1
* Merge branch 'master' of git://github.com/lifo/docrailsXavier Noria2011-05-251-0/+2
|\
| * Add more doc to #update_column.Sebastian Martinez2011-05-201-0/+2
* | rescue record invalid exceptions and return false from the save method. fixes...Aaron Patterson2011-05-241-1/+5
|/
* renamed mass-assignment scopes to roles, updated code, tests, docs and securi...Josh Kalderimis2011-05-081-1/+1
* postgresql supports prepare statement deletesAaron Patterson2011-04-291-1/+9
* Fix #update_attributes api format errorSebastian Martinez2011-04-261-1/+1
* AR update_attributes api is updated to reflect the addition of assign_attributesJosh Kalderimis2011-04-261-4/+9
* Added new #update_column method.Sebastian Martinez2011-03-271-0/+14
* Revert "Removed #update_attribute method. New #update_column method."Sebastian Martinez2011-03-271-8/+10
* Removed #update_attribute method. New #update_column method.Sebastian Martinez2011-03-261-10/+8
* pushing id insertion and prefetch primary keys down to Relation#insertAaron Patterson2011-03-221-9/+1
* Merge remote branch 'rails/master' into identity_mapEmilio Tagua2011-02-151-3/+6
|\
| * removed some duplication from LH issue 5505 regarding AR touch and optimistic...Josh Kalderimis2011-02-091-5/+1
| * The optimistic lock column should be increased when calling touchFranck Verrot2011-02-091-0/+7
| * Do not use primary key on insertion when it's nilSantiago Pastorino2010-12-291-2/+2
| * Allow primary_key to be an attribute when the model is a new recordSantiago Pastorino2010-12-281-1/+1
* | Merge remote branch 'rails/master' into identity_mapEmilio Tagua2010-12-201-6/+8
|\|
| * removing calls to deprecated methodsAaron Patterson2010-12-021-1/+2
| * refactor `self.class` to a variableAaron Patterson2010-12-021-1/+2
| * Partialy revert f1c13b0dd7b22b5f6289ca1a09f1d7a8c7c8584bJosé Valim2010-11-281-5/+5
* | Use identity mapper only if enabled.Emilio Tagua2010-11-191-3/+3
* | IdentityMap - adding and removing of records on create/updateMarcin Raczkowski2010-11-191-2/+12
|/
* STI type is now updated when calling AR::Base.becomes on subclasses [#5953 st...Franck Verrot2010-11-121-0/+1
* Double negation of an already boolean value produces the same resultSantiago Pastorino2010-11-091-1/+1
* Don't check if persisted is defined just initialize it properlySantiago Pastorino2010-11-091-2/+0
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-5/+7
* restore behavior of touch for models without :updated_xx [#5439 state:resolved]tnp2010-09-241-3/+2
* Use map instead inject.Emilio Tagua2010-09-221-4/+3
* The call-seq directive has no useful effect on our documentation and is not u...Joost Baaij2010-08-281-3/+0
* edit pass to a recent doc patchXavier Noria2010-08-251-3/+10
* Merge remote branch 'docrails/master'Xavier Noria2010-08-251-2/+6
|\
| * touch operationg if used along with belongs_to will also be invoked on associ...Neeraj Singh2010-08-241-2/+6
* | @user.touch should not fail if User does not have updated_at/updated_on column.Neeraj Singh2010-08-241-9/+11
|/
* Make update_attribute behave as in Rails 2.3 and document the behavior intrin...José Valim2010-08-121-33/+30
* standarizes the use of the article "an" for "SQL" and "SQLite"Xavier Noria2010-08-051-1/+1
* Merge remote branch 'docrails/master' into 3-0-stableXavier Noria2010-08-031-2/+2
|\