aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* Merge pull request #15343 from dontfidget/fix_polymorphic_automatic_inverse_ofRafael Mendonça França2014-06-132-0/+2
|\
| * use name specified by 'as' for automatic inverse association to avoid reflect...Andrew S. Brown2014-06-102-0/+2
* | Fix regression on eager loading association based on SQL query ratherLauro Caetano2014-06-031-0/+12
|/
* Revert "Merge pull request #14544 from jefflai2/named_scope_sti"Rafael Mendonça França2014-05-212-5/+0
* build fix, use lambda syntax that ruby 1.9.3 understands.Yves Senn2014-05-211-1/+1
* Fix polymorphic eager load with foreign_key as String.Lauro Caetano2014-05-201-0/+3
* Merge pull request #14544 from jefflai2/named_scope_stiRafael Mendonça França2014-05-202-0/+5
|\
| * Fixes Issue #13466.Jefferson Lai2014-04-232-0/+5
* | test, inline `DeveloperWithAggregate`, which is used by a single test.Yves Senn2014-05-191-6/+0
* | Merge pull request #14871 from kassio/kb-fixes-namespaced-habtmRafael Mendonça França2014-05-143-0/+8
|\ \
| * | Fix how to compute class name on habtm namespaced.Kassio Borges2014-05-133-0/+8
* | | Merge pull request #15078 from nbudin/fix_merger_filter_binds_comparison_masterRafael Mendonça França2014-05-142-0/+17
|\ \ \ | |/ / |/| |
| * | Make filter_binds filter out symbols that are equal to stringsNat Budin2014-05-142-0/+17
|/ /
* | Fix broken proc syntax for 1.9.3Arthur Neves2014-05-091-1/+1
* | test, regression test for has_many with instance dependent scope.Yves Senn2014-05-091-0/+2
* | Fixed HABTM's CollectionAssociation sizeFred Wu2014-05-081-0/+2
* | Add support for module-level table_suffix in modelsJenner LaFave2014-05-051-0/+18
* | Merge pull request #14978 from bogdan/relation-joinRafael Mendonça França2014-05-051-0/+4
|\ \
| * | Put back Relation#join method as a delegate to ArrayBogdan Gusiev2014-05-051-0/+4
* | | Get rid of unused method in AR Post test modelCarlos Antonio da Silva2014-05-051-4/+0
|/ /
* | Fixed custom validation context bug where childEric Chahin2014-05-012-0/+12
* | Merge branch 'master' into adequaterecordAaron Patterson2014-04-252-0/+6
|\ \
| * \ Merge pull request #14573 from habermann24/has_many_through_fixRafael Mendonça França2014-04-222-0/+6
| |\ \
| | * | Properly handle scoping with has_many :through. Fixes #14537.Jan Habermann2014-04-032-0/+6
* | | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-201-1/+0
|\| | |
| * | | Remove outdated commentRafael Mendonça França2014-04-141-1/+0
* | | | Merge branch 'master' into adequaterecordAaron Patterson2014-04-143-0/+8
|\| | |
| * | | Merge pull request #12829 from iantropov/issue_insert_via_hmt_scope_3548Rafael Mendonça França2014-04-101-0/+2
| |\ \ \
| | * | | Fix insertion of records for hmt association with scope, fix #3548Ivan Antropov2013-11-171-0/+2
| * | | | Merge branch 'master' into rm-uuid-fixturesRafael Mendonça França2014-04-104-2/+11
| |\ \ \ \
| * \ \ \ \ Merge pull request #12016 from roderickvd/uuid_fixesRafael Mendonça França2014-04-042-0/+6
| |\ \ \ \ \
| | * | | | | Auto-generate stable fixture UUIDs on PostgreSQL.Roderick van Domburg2014-01-072-0/+6
* | | | | | | propogate bind values collected in arel to SQL generationAaron Patterson2014-04-111-0/+2
| |_|/ / / / |/| | | | |
* | | | | | The `source` option for `has_many => through` should accept StringLauro Caetano2014-04-091-2/+2
* | | | | | Fix the test defining the models in the right placeRafael Mendonça França2014-04-042-0/+5
* | | | | | Merge pull request #14562 from jefflai2/collection_proxyRafael Mendonça França2014-04-041-0/+4
|\ \ \ \ \ \ | |/ / / / / |/| | | | |
| * | | | | CollectionProxy uses the arel of its association's scope.Jefferson Lai2014-04-021-0/+4
| | |_|/ / | |/| | |
* / | | | Fix error when using `with_options` with lambda.Lauro Caetano2014-04-032-0/+6
|/ / / /
* | | | Merge pull request #14154 from al2o3cr/issue12770Aaron Patterson2014-03-271-0/+1
|\ \ \ \
| * | | | Pass a base relation to build_default_scope when joiningMatt Jones2014-02-211-0/+1
* | | | | AR .persisted? throws SystemStackError for an unsaved model with achrisfinne2014-03-271-0/+2
| |_|_|/ |/| | |
* | | | Obey `validate: false` option for habtmCarlos Antonio da Silva2014-03-142-0/+14
* | | | Add tests for default scope behaviour changeJon Leighton2014-02-231-0/+2
|/ / /
* | | Revert "context in validation goes through has many relationship"Aaron Patterson2014-02-202-16/+0
* | | Merge pull request #13978 from Fortisque/kevin/validation_context_for_childrenAaron Patterson2014-02-082-0/+16
|\ \ \
| * | | context in validation goes through has many relationshipKevin Casey2014-02-082-0/+16
* | | | Add test case for autosave HasMany with accepts_nested_attributes.Lauro Caetano2014-02-082-0/+4
|/ / /
* | | docs, AR already auto-detects primary keys. Closes #13946. [ci skip]Yves Senn2014-02-051-2/+0
* | | pass `habtm :autosave` to underlying `hm:t` association. Closes #13923.Yves Senn2014-02-031-0/+1
* | | Add more tests for the dirty feature for enumsRafael Mendonça França2014-01-211-0/+1