aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
...
* Add :dependent = to has_one and has_many [#3075 state:resolved]Rizwan Reza2010-03-281-0/+5
* Fix associations to call :destroy or :delete based on the right :dependent op...Carlos Antonio da Silva2010-03-092-8/+5
* Fix a bug where default_scope was overriding attributes given on model initia...Henry Hsu2010-02-261-0/+5
* Axe AM state machineJoshua Peek2010-01-301-27/+0
* Make default_scope work with RelationsPratik Naik2010-01-231-0/+5
* Simplify calculation scope building. Remove :order from associations as it is...Pratik Naik2010-01-182-6/+4
* Rename named_scope to scopePratik Naik2010-01-187-27/+27
* Make relations work as scopesPratik Naik2010-01-171-4/+4
* Make sure named_scope names are not used as method names alreadyPratik Naik2010-01-171-2/+2
* Rollback the transaction when one of the autosave associations fails to save....Eloy Duran2010-01-084-0/+24
* Add failing test that triggers the stack overflowBryan Stearns2010-01-082-0/+7
* Simplify repair_validations on AR and make it work with new callbacks.José Valim2010-01-011-2/+4
* Refactored previous changes to nested attributes.Eloy Duran2009-12-282-0/+4
* Make polymorphic_inverse_of in Reflection throw an InverseOfAssociationNotFou...Murray Steele2009-12-281-1/+2
* Add inverse polymorphic association support. [#3520 state:resolved]George Ogata2009-12-283-0/+4
* delete correct records for a has_many with :primary_key and :dependent => :de...Matt Jones2009-11-101-0/+2
* Define autosave association callbacks when using accepts_nested_attributes_for.Eloy Duran2009-11-072-2/+2
* Allow accepts_nested_attributes_for :reject_if option accept symbols for usin...Pratik Naik2009-10-071-0/+4
* Make has_one with :conditions hash scope build or creation of the associated ...Luciano G Panaro2009-09-281-0/+2
* Define autosave association validation methods only when needed. [#3161 state...Alexey Kovyrin2009-09-122-4/+7
* Fix has_one with foreign_key and primary_key association bug which caused the...Graeme Porteous2009-09-121-0/+1
* Explicitely setting `autosave => false' should override new_record autosaving...Eloy Duran2009-09-121-0/+5
* Raise an exception with friendlier error message when attempting to build a p...Mike Breen2009-09-121-0/+2
* Refactor new callbacks and AR implementation.José Valim2009-09-083-3/+20
* Changed ActiveRecord to use new callbacks and speed up observers by only noti...José Valim2009-09-083-5/+10
* has_many :through create should not raise validation errorsrailsbob2009-08-092-0/+6
* Prevent overwriting of table name in merging SQL conditions [#2949 state:reso...Tristan Dunn2009-08-101-1/+5
* Enable has_many :through for going through a has_one association on the join ...Gabe da Silveira2009-08-101-0/+1
* Fix for nested :include with namespaced models.Rich Bradley2009-08-091-1/+1
* Adding :from scoping to ActiveRecord calculationsMatt Duncan2009-08-091-0/+2
* added Subject#after_initialize to be the same as Topic#after_initializeRaimonds Simanovskis2009-08-061-1/+9
* added :order option to find :first methods and associations as otherwise Orac...Raimonds Simanovskis2009-08-061-2/+6
* Add simple support for ActiveModel's StateMachine for ActiveRecordJoshua Peek2009-08-041-0/+27
* Revert "Methods invoked within named scope Procs should respect the scope sta...Jeremy Kemper2009-07-291-2/+0
* Add primary_key option to belongs_to associationSzymon Nowak2009-07-155-1/+9
* Revert "Revert "Generate proper :counter_sql from :finder_sql when there is a...Pratik Naik2009-07-012-0/+10
* Revert "Generate proper :counter_sql from :finder_sql when there is a newline...Yehuda Katz + Carl Lerche2009-06-222-10/+0
* Generate proper :counter_sql from :finder_sql when there is a newline charact...Patrick Joyce2009-06-212-0/+10
* Ensure hm:t#create respects source associations hash conditions [#2090 state:...mattbauer2009-06-211-0/+2
* Merge branch 'master' into active_modelJoshua Peek2009-05-298-0/+34
|\
| * Make sure default_scope#create checks for options[:conditions] [#2181 state:r...Pratik Naik2009-05-181-0/+10
| * Fixed limited eager loading associations with numbers in the name [#2668 stat...Benjamin Floering2009-05-181-0/+1
| * Cherry-pick core extensionsJeremy Kemper2009-05-131-0/+2
| * Revert "Fixed bug with polymorphic has_one :as pointing to an STI record"Jeremy Kemper2009-05-111-4/+0
| * Allow you to pass :all_blank to :reject_if option to automatically create a P...Mike Breen2009-05-101-0/+2
| * Providing support for :inverse_of as an option to associations.Murray Steele2009-05-044-0/+19
| * Fixed bug with polymorphic has_one :as pointing to an STI recordRuy Asan2009-05-011-0/+4
* | Merge branch 'master' into active_modelPratik Naik2009-04-224-9/+10
|\|
| * Fix tests for sqlite3 3.6.xxPratik Naik2009-04-211-1/+1
| * Ensure :dependent => :delete_all works for association with hash conditionsPratik Naik2009-04-202-8/+7