aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #7532 from al2o3cr/fix_store_bugsRafael Mendonça França2012-09-051-0/+1
|\
| * correctly flag changed attributes in AR::Store, combine multiple calls to sto...Matt Jones2012-09-051-0/+1
* | Fix pluck when columns/tables are reserved words.Ian Lesperance2012-09-051-0/+3
|/
* test cleanup, remove ruby_type because it's no longer neededYves Senn2012-09-031-4/+0
* rewrite inheritance tests with a custom inheritance_columnYves Senn2012-09-031-0/+10
* set the configured #inheritance_column on #become (#7503)Yves Senn2012-09-031-0/+14
* Add a test to make sure preloading properly merges association and default sc...Pratik Naik2012-08-282-0/+11
* allow to pass Symbol or Proc into :limit option of #accepts_nested_attributes...Mikhail Dieterle2012-08-261-1/+1
* reset_counters() was crashing when there were multiple belongs_to association...Dave Desrochers2012-08-212-0/+6
* Use method compilation for association methodsJon Leighton2012-08-102-4/+3
* Remove the dependent_restrict_raises option.Jon Leighton2012-08-101-2/+14
* Deprecate :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-08-013-26/+36
* Revert "Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql."Jon Leighton2012-08-013-1/+24
* Revert "Removing composed_of from ActiveRecord."Rafael Mendonça França2012-07-272-0/+13
* Deprecate ActiveRecord::Base.scoped.Jon Leighton2012-07-276-15/+16
* rm unnecessary testJon Leighton2012-07-202-5/+0
* rm redundant testJon Leighton2012-07-201-2/+0
* Remove :finder_sql, :counter_sql, :insert_sql, :delete_sql.Jon Leighton2012-07-203-24/+1
* Convert association macros to the new syntaxJon Leighton2012-07-2015-134/+135
* Allow associations to take a lambda which builds the scopeJon Leighton2012-07-131-0/+2
* Remove some aggregation tests related to composed_ofCarlos Antonio da Silva2012-06-281-1/+0
* Merge pull request #6800 from mschneider/dynamic_finders_for_aliased_attributesRafael Mendonça França2012-06-221-0/+2
|\
| * made dynamic finders alias_attribute awareMaximilian Schneider2012-06-221-0/+2
* | Add some coverage for AR serialization with serializable_hashCarlos Antonio da Silva2012-06-221-17/+32
* | Improve the derivation of HABTM assocation join table namesAndrew White2012-06-221-0/+5
|/
* Removing composed_of from ActiveRecord.Steve Klabnik2012-06-182-12/+0
* Ensure that mass assignment options are preservedAndrew White2012-06-101-1/+20
* Refactor aggregation writer methodCarlos Antonio da Silva2012-05-211-1/+0
* Merge pull request #6143 from senny/composed_of_converter_returns_nilAaron Patterson2012-05-211-0/+5
|\
| * allow the :converter Proc form composed_of to return nilYves Senn2012-05-031-0/+5
* | Custom coders support for ActiveRecord::Store. JSON, YAML, Marshal can be use...Andrey Voronkov2012-05-091-0/+2
* | Fix issue with private kernel methods and collection associations. Closes #2508Carlos Antonio da Silva2012-05-021-0/+5
* | find and replace deprecated keysJon Leighton2012-04-271-1/+1
* | %s/find(:\(first\|last\|all\), \([^()]*\))/scoped(\2).\1/gcI amongst other th...Jon Leighton2012-04-273-8/+8
* | remove unnecessary test codeJon Leighton2012-04-271-5/+1
* | remove deprecated scope stuffJon Leighton2012-04-263-22/+2
* | remove unused methodJon Leighton2012-04-251-6/+0
* | remove tests for #with_scope (it's now deprecated)Jon Leighton2012-04-251-6/+0
* | extract deprecated codeJon Leighton2012-04-251-2/+2
* | Adds test to check that circular preloading does not modify Model.unscoped (a...Benedikt Deicke2012-04-031-0/+2
* | Merge pull request #5334 from courtland/masterJon Leighton2012-03-301-0/+6
|\ \
| * | Tests for removing a HABTM association when optimistic locking is enabled.Nick Rogers2012-03-071-0/+6
* | | Deprecate eager-evaluated scopes.Jon Leighton2012-03-2116-61/+62
* | | Not need to pass join attributes to association buildRafael Mendonça França2012-03-072-9/+9
* | | Add test case to has_many through association when mass_assignment_sanitizer isRafael Mendonça França2012-03-053-0/+13
|/ /
* | added test for #3732Rick Martinez2012-02-103-1/+12
* | Allow store to be a not null column.Jeremy Walker2012-02-021-0/+1
* | test_get_ids_for_ordered_association fixedgregolsen2012-01-311-1/+1
* | ids_reader method fixed, test added to has_many associationgregolsen2012-01-311-0/+1
* | Fix bug where reset_counters resets the wrong counter cache.David Peter2012-01-162-0/+8