aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* Remove outdated commentRafael Mendonça França2014-04-141-1/+0
* 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
|\ \
| * | 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
* | | | 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
* | | | 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
* adding a test to demonstrate how to use STI subclasses on the far rightAaron Patterson2013-09-272-0/+3
* Merge pull request #12359 from arthurnn/inverse_on_callbacksRafael Mendonça França2013-09-251-1/+5
|\
| * Make sure inverse_of is visible on the has_many callbacksArthur Neves2013-09-251-1/+5
* | adding a test for sti on middle tables with sorting on RHSAaron Patterson2013-09-231-0/+5
|/
* Merge pull request #12011 from jetthoughts/11963_fix_join_with_association_scopeRafael Mendonça França2013-09-161-0/+7
|\
| * Collapse where constraints to one where constraintPaul Nikitochkin2013-09-131-0/+7
* | More unused associations in AR test modelsAkira Matsuda2013-09-108-13/+0
* | :scissors: [ci skip]Carlos Antonio da Silva2013-09-101-1/+1
* | change function def self.table_name to self.table_nameRajarshi Das2013-09-102-5/+3
* | Clean up unused associations in AR test modelAkira Matsuda2013-09-101-3/+0
|/