aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* 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
* Deprecate inferred JOINs with includes + SQL snippets.Jon Leighton2012-01-163-3/+6
* Revert "Deprecate implicit eager loading. Closes #950."Jon Leighton2012-01-163-5/+5
* Fixed after_initialize callbacks call on AR model #dupBogdan Gusiev2012-01-071-0/+5
* Merge branch 'master' of git://github.com/rails/railsDmitry Polushkin2011-12-3128-33/+93
|\
| * Test fixtures with custom model and table namesAlexey Muranov2011-12-302-0/+6
| * Deprecate implicit eager loading. Closes #950.Jon Leighton2011-12-293-5/+5
| * Support establishing connection on ActiveRecord::Model.Jon Leighton2011-12-281-0/+3
| * Support nested AR::ModelsJon Leighton2011-12-241-0/+8
| * Add test for inheritance from a non-AR superclassJon Leighton2011-12-241-0/+11
| * I herd you like modules.Jon Leighton2011-12-241-0/+13
| * 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
* | Merge branch 'master' of git://github.com/rails/railsDmitry Polushkin2011-09-152-10/+12
|\|
| * 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
* | Test polymorphic record with optimistic locking and counter cache should be d...Dmitry Polushkin2011-09-091-1/+1
|/
* 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