aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
...
* 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
* Merge pull request #1254 from pixeltrix/ignore-includes-in-through-scopeJon Leighton2011-05-242-0/+9
|\
| * Ignore :includes on through associationsAndrew White2011-05-242-0/+9
* | Failing tests for #1233.Andrew White2011-05-241-0/+35
|/
* Refactoring test_has_many_with_pluralize_table_names_false testGuillermo Iguaran2011-05-201-0/+1
* Pass the attribute and option hashes to build_associationAndrew White2011-05-171-0/+13
* Merge pull request #560 from guilleiguaran/fix_pluralize_table_names_falseJon Leighton2011-05-161-0/+3
|\
| * Fixing has_many association when ActiveRecord::Base.pluralize_table_names is ...Guillermo Iguaran2011-05-151-0/+3
* | CollectionAssociation#merge_target_lists should write to the underlying attri...Jon Leighton2011-05-141-0/+4
|/
* Don't use mass-assignment protection when setting foreign keys or association...Jon Leighton2011-05-121-0/+3
* Don't use select() values from the join model of a through association. Fixes...Jon Leighton2011-05-112-0/+8
* Add test to specify that attributes from an association's conditions should b...Jon Leighton2011-05-102-0/+4
* Don't quote ID's as Arel will quote them -- follow same conventions as the de...Christopher Meiklejohn2011-05-081-0/+3
* Merge pull request #357 from joshk/assign_attributes.David Heinemeier Hansson2011-05-011-6/+17
|\
| * singular and collection relations in AR can now specify mass-assignment secur...Josh Kalderimis2011-05-011-6/+17
* | removed the default_scope deprecations and updated the docs and tests to refl...Josh Kalderimis2011-04-281-6/+18
|/
* Added assign_attributes to Active Record which accepts a mass-assignment secu...Josh Kalderimis2011-04-242-24/+19
* Bring back support for passing a callable object to the default_scope macro. ...Jon Leighton2011-04-181-0/+17
* Un-deprecate using 'default_scope' as a macro, but if you are calling the mac...Jon Leighton2011-04-187-77/+23
* Revert "Deprecate defining scopes with a callable (lambda, proc, etc) via the...Jon Leighton2011-04-173-30/+21
* common @jonleighton :bomb:Aaron Patterson2011-04-121-2/+1
* Deprecate defining scopes with a callable (lambda, proc, etc) via the scope c...Jon Leighton2011-04-123-21/+32
* Evaluate default scopes at the last possible moment in order to avoid problem...Jon Leighton2011-04-121-0/+2
* Deprecated support for passing hashes and relations to default_scope, in favo...Jon Leighton2011-04-128-23/+102
* oracle, y u defy meJon Leighton2011-03-163-7/+9
* Add a test for STI on the through where the through is nested, and change the...Jon Leighton2011-03-052-0/+2
* Merge branch 'master' into nested_has_many_throughJon Leighton2011-03-0426-35/+225
|\
| * Rewrote AssociationPreload.Jon Leighton2011-02-281-1/+2
| * Allow building and then later saving has_many :through records, such that the...Jon Leighton2011-02-183-1/+5
| * Ensure that association_ids uses the correct attribute where the association ...Jon Leighton2011-02-181-0/+1
| * Add interpolation of association conditions back in, in the form of proc { .....Jon Leighton2011-02-144-17/+23
| * make set_table_name take effect immediatelyJan2011-02-081-0/+4
| * Correctly update counter caches on deletion for has_many :through [#2824 stat...Jon Leighton2011-02-071-0/+5
| * Support the :dependent option on has_many :through associations. For historic...Jon Leighton2011-02-072-1/+38
| * Fixing ordering of HABTM association deletion [#6191 state:resolved]Edward Faulkner2011-02-042-0/+14
| * introduce a fake AR adapter for mocking database return valuesAaron Patterson2011-02-041-5/+7
| * share column cache among subclasses, only look up columns per AR::Base subcla...Aaron Patterson2011-02-011-0/+4
| * Propagate association extensions to scopes called on the association.Glenn Vanderburg2011-02-011-0/+1
| * Has many through - It is not necessary to manually merge in the conditions ha...Jon Leighton2011-01-302-1/+5
| * We shouldn't be using scoped.scoping { ... } to build associated records, as ...Jon Leighton2011-01-302-2/+11
| * belongs_to records should be initialized within the association scopeJon Leighton2011-01-161-0/+1
| * Add create_association! for belongs_toJon Leighton2011-01-161-0/+1