aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/pirate.rb
Commit message (Expand)AuthorAgeFilesLines
* Add Relation#annotate for SQL commentingMatt Yoho2019-03-211-0/+16
* Call build when extend with nested attributes definedAlireza Bashiri2018-08-021-1/+7
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
* Add more rubocop rules about whitespacesRafael Mendonça França2016-10-291-8/+8
* Add three new rubocop rulesRafael Mendonça França2016-08-161-8/+8
* modernizes hash syntax in activerecordXavier Noria2016-08-061-37/+37
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-10/+10
* Add line endings to files which are missing themSean Griffin2015-02-171-1/+1
* Deprecate `false` as the way to halt AR callbacksclaudiob2015-01-021-1/+1
* Pass symbol as an argument instead of a blockErik Michaels-Ober2014-11-291-2/+2
* Fixed custom validation context bug where childEric Chahin2014-05-011-0/+6
* Remove outdated commentRafael Mendonça França2014-04-141-1/+0
* Revert "context in validation goes through has many relationship"Aaron Patterson2014-02-201-8/+0
* context in validation goes through has many relationshipKevin Casey2014-02-081-0/+8
* pass `habtm :autosave` to underlying `hm:t` association. Closes #13923.Yves Senn2014-02-031-0/+1
* allow to pass Symbol or Proc into :limit option of #accepts_nested_attributes...Mikhail Dieterle2012-08-261-1/+1
* Convert association macros to the new syntaxJon Leighton2012-07-201-3/+3
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-121-1/+1
* We shouldn't be using scoped.scoping { ... } to build associated records, as ...Jon Leighton2011-01-301-0/+2
* has_one should always remove the old record (properly), even if not saving th...Jon Leighton2011-01-111-0/+4
* use persisted? instead of new_record? wherever possibleDavid Chelimsky2010-11-091-1/+1
* Don't overwrite unsaved updates when loading an association but preserve the ...James Le Cuirot2010-06-201-2/+2
* Revert "Don't overwrite unsaved updates when loading an association but prese...José Valim2010-06-111-2/+2
* Don't overwrite unsaved updates when loading an association but preserve the ...James Le Cuirot2010-06-091-2/+2
* Rollback the transaction when one of the autosave associations fails to save....Eloy Duran2010-01-081-0/+6
* Refactored previous changes to nested attributes.Eloy Duran2009-12-281-0/+2
* Define autosave association callbacks when using accepts_nested_attributes_for.Eloy Duran2009-11-071-1/+1
* Allow accepts_nested_attributes_for :reject_if option accept symbols for usin...Pratik Naik2009-10-071-0/+4
* Define autosave association validation methods only when needed. [#3161 state...Alexey Kovyrin2009-09-121-3/+6
* Allow you to pass :all_blank to :reject_if option to automatically create a P...Mike Breen2009-05-101-0/+2
* Ensure AutosaveAssociation runs remove callbacks [#2146 state:resolved]Luca Guidi2009-03-121-1/+48
* Changed API of NestedAttributes to take an array, or hash with index keys, of...Lance Ivy2009-02-131-1/+1
* Add support for nested object forms to ActiveRecord and the helpers in Action...Eloy Duran2009-02-011-0/+7
* Dirty attributes aren't cleared if save fails. [#174 state:resolved]Xavier Noria2008-05-121-0/+2
* Fix has_many :through a polymorphic has_many. Closes #10529 [Aleksey Kondrate...Jeremy Kemper2008-02-021-1/+3
* move assets and modelsJeremy Kemper2008-01-181-0/+5