aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
...
* | 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
* | | Make AR::Base#touch fire the after_commit and after_rollback callbacksHarry Brundage2014-01-162-1/+17
* | | Don't try to get the subclass if the inheritance column doesn't existUjjwal Thaakar2014-01-141-0/+5
|/ /
* | Remove warnings in test suiteMatthias Zirnstein2014-01-061-1/+1
* | Fix: ActiveRecord::Store TypeError conversion when using YAML coderThales Oliveira2014-01-061-0/+1
* | Remove method redefined warnings for test suiteMatthias Zirnstein2014-01-051-1/+1
* | make sure cached table name is a string. fixes #12582Aaron Patterson2013-12-121-0/+4
* | changed update counter to act on unscoped modelheruku2013-11-261-0/+4
* | Raise `RecordNotDestroyed` when children can't be replacedBrian Thomas Storti2013-11-252-0/+7
* | Fix ActiveRecord::Relation#unscopeJon Leighton2013-11-201-0/+1
|/
* Add AR::Base.to_param for convenient "pretty" URLs derived from a model's att...Javan Makhmali2013-11-141-0/+2
* define enum methods inside a `Module` to make them overwritable.Yves Senn2013-11-051-0/+5
* Explicit mapping for enumYury Korolev2013-11-021-0/+1
* Fix to work on Ruby 1.9.3, example and changelog improvementsCarlos Antonio da Silva2013-11-021-2/+2
* Added ActiveRecord::Base#enum for declaring enum attributes where the values ...David Heinemeier Hansson2013-11-021-2/+4
* Skip `include_values` from through associations chains for building target scopePaul Nikitochkin2013-10-271-0/+3
* scope_chain should not be mutated for other reflectionsNeeraj Singh2013-10-145-0/+19
* Port test from cf1904f to avoid future regressionPrem Sichanugrist2013-10-031-0/+5