aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
...
| * | | | 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
|/
* pk should not be required for hm:t associationsAaron Patterson2013-08-291-0/+8
* Merge branch 'master' of github.com:rails/docrailsVijay Dev2013-08-1711-3/+21
|\
| * Revert "Merge branch 'master' of github.com:rails/docrails"Vijay Dev2013-08-1711-3/+21
* | Fixing multi-word automatic inverse detection.wangjohn2013-08-152-0/+3
* | Changing the def self.table_name to self.table_name in the column_name.rbKarunakar (Ruby)2013-08-031-2/+2
* | this code is dead, removingAaron Patterson2013-08-011-6/+0
|/
* :scissors: [ci skip]Carlos Antonio da Silva2013-07-251-1/+1
* change function def self.table_name to self.table_nameRajarshi Das2013-07-252-5/+3
* More unused associations in AR test modelsAkira Matsuda2013-07-258-13/+0
* Clean up unused associations in AR test modelAkira Matsuda2013-07-251-3/+0
* Make sure that a joins Relation can be merged with has_many :through + associ...Akira Matsuda2013-07-101-1/+5
* Dropped deprecated option `:restrict` for `:dependent` in associationsNeeraj Singh2013-07-031-7/+0