aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* set the configured #inheritance_column on #become (#7503)Yves Senn2012-09-031-0/+14
* Ensure association preloading properly merges default scope and association c...Pratik Naik2012-08-282-0/+12
* Use Ruby 1.8 hash syntaxCarlos Antonio da Silva2012-08-212-3/+3
* Merge pull request #5210 from Pliny/masteriRafael Mendonça França2012-08-212-0/+6
* Ported PR #4856 to 3-2-stable.Jeremy Walker2012-08-091-0/+1
* Revert "Deprecating composed_of in ActiveRecord"Rafael Mendonça França2012-08-012-9/+5
* Revert "Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-013-36/+26
* Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-203-26/+36
* Deprecating composed_of in ActiveRecordSteve Klabnik2012-06-182-5/+9
* Restore behavior of Active Record 3.2.3 scopesAndrew White2012-06-011-2/+0
* Adds test to check that circular preloading does not modify Model.unscoped (a...Benedikt Deicke2012-04-191-0/+2
* Add order to tests that rely on db ordering, to fix failing tests on pgCarlos Antonio da Silva2012-03-221-1/+1
* Not need to pass join attributes to association buildRafael Mendonça França2012-03-082-9/+9
* Add test case to has_many through association when mass_assignment_sanitizer isRafael Mendonça França2012-03-083-0/+13
* Fix broken tests added by 85c724d59Rafael Mendonça França2012-01-311-1/+1
* Merge pull request #4783 from gregolsen/ids_reader_fixJon Leighton2012-01-311-0/+1
* Merge pull request #4487 from sarenji/fix-reset-countersAaron Patterson2012-01-172-0/+8
* serialize fails on subclassAlvaro Bautista2011-12-231-0/+4
* added failing tests for has_many, has_one and belongs_to associations with st...Jakub Kuźma2011-12-211-2/+2
* call scope within unscoped to prevent duplication of where valuesSergey Nartimov2011-12-171-0/+2
* Allow nested attributes in associations to update values in it's owner object...Andrew Kaspick2011-12-141-1/+4
* Fix #3890. (Calling proxy_association in scope chain.)Jon Leighton2011-12-081-1/+5
* Deprecate set_locking_column in favour of self.locking_column=Jon Leighton2011-11-291-1/+1
* Deprecate set_primary_key in favour of self.primary_key=Jon Leighton2011-11-2912-14/+14
* Deprecate set_sequence_name in favour of self.sequence_name=Jon Leighton2011-11-291-1/+1
* Deprecate set_inheritance_column in favour of self.inheritance_column=Jon Leighton2011-11-291-1/+2
* Deprecate set_table_name in favour of self.table_name= or defining your own m...Jon Leighton2011-11-293-5/+5
* don't change class definition in test caseJosh Susser2011-11-291-0/+4
* use GeneratedFeatureMethods module for associationsJosh Susser2011-11-271-1/+0
* Allow the :class_name option for associations to take a symbol.Jon Leighton2011-11-041-0/+1
* Tests gotta run in 1.8 tooJeremy Kemper2011-10-131-2/+2
* Added ActiveRecord::Base.store for declaring simple single-column key/value s...David Heinemeier Hansson2011-10-131-0/+1
* Raise error when using write_attribute with a non-existent attribute.Jon Leighton2011-09-131-6/+7
* Make protected method public so we avoid method_missing.Jon Leighton2011-09-131-4/+5
* Ensure we are not comparing a string with a symbol in HasManyAssociation#inve...Jon Leighton2011-09-061-1/+1
* We need to recorder here. Need to drop the order from default scope.Arun Agrawal2011-09-051-0/+10
* The join_nodes must be passed to the JoinDependency initializer and therefore...Jon Leighton2011-08-291-0/+2
* Fix default scope thread safety. Thanks @thedarkone for reporting.Jon Leighton2011-08-131-0/+9
* use existing model for testing Base.create with #after_initializeGabriel Horner2011-07-242-9/+5
* simplify and be more explicit about create and after_initialize testsGabriel Horner2011-07-241-6/+2
* fix after_initialize edge case (close #2074 and close #2175)Les Fletcher2011-07-241-0/+13
* Fix exception if old and new targets are both nil. Fixes #1471.Jon Leighton2011-07-121-1/+4
* Assign the association attributes to the associated record before the before_...Jon Leighton2011-06-301-2/+7
* Apply the default scope earlier when doing calculations. Fixes #1682.Jon Leighton2011-06-231-0/+6
* Pass mass-assignment options to nested models - closes #1673.Andrew White2011-06-131-2/+6
* Refactor tests to be less brittleJon Leighton2011-06-121-0/+12
* Test added for namedscope target.Arun Agrawal2011-06-032-1/+6
* Failing test for aggregating on default_scope with selectErik Fonselius2011-05-311-0/+5
* Tests for issue #1360Farley Knight2011-05-311-0/+15
* Fix infinite recursion where a lazy default scope references a scope. Fixes #...Jon Leighton2011-05-251-0/+15