aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models
Commit message (Expand)AuthorAgeFilesLines
* Don't skip in-memory insertion of associations when loaded in validateSean Griffin2016-09-291-6/+0
* Add tests for ActiveRecord::Enum#enum when suffix specifiedYosuke Kabuto2016-09-121-0/+1
* Merge pull request #24099 from k0kubun/preserve-readonlyRafael Mendonça França2016-08-181-0/+1
|\
| * Preserve readonly flag only for readonly associationTakashi Kokubun2016-07-301-0/+1
* | Add three new rubocop rulesRafael Mendonça França2016-08-1610-32/+32
* | code gardening: removes redundant selfsXavier Noria2016-08-082-2/+2
* | Add `Style/EmptyLines` in `.rubocop.yml` and remove extra empty linesRyuta Kamizono2016-08-071-1/+0
* | applies remaining conventions across the projectXavier Noria2016-08-068-13/+4
* | normalizes indentation and whitespace across the projectXavier Noria2016-08-068-27/+26
* | remove redundant curlies from hash argumentsXavier Noria2016-08-061-1/+1
* | modernizes hash syntax in activerecordXavier Noria2016-08-0662-536/+535
* | applies new string literal convention in activerecord/testXavier Noria2016-08-0658-307/+307
* | Don't assume all hashes are from multiparameter assignment in `composed_of`Sean Griffin2016-08-051-0/+1
|/
* Merge pull request #25767 from kamipo/association_name_is_the_same_as_join_ta...Rafael França2016-07-271-0/+6
|\
| * Correctly return `associated_table` when `associated_with?` is trueRyuta Kamizono2016-07-101-0/+6
* | Oracle TIMESTAMP sql type is associated with Rails `DateTime` type nowYasuo Honda2016-07-201-6/+0
|/
* Ensure hashes can be passed to attributes using `composed_of`Sean Griffin2016-05-311-1/+6
* Fix undefined method `owners' for NullPreloader:ClassLadislav Smola2016-04-063-1/+11
* Fix `warning: method redefined; discarding old female`Ryuta Kamizono2016-03-121-3/+0
* Execute default_scope defined by abstract class within the scope of subclassMehmet Emin İNAÇ2016-03-081-0/+13
* don't treat all associations with extensions as instance dependent.Yves Senn2016-03-031-0/+8
* Merge pull request #18766 from yasyf/issue_17864Sean Griffin2016-02-291-0/+6
|\
| * Honour the order of the joining model in a `has_many :through`Yasyf Mohamedali2015-03-021-0/+6
* | Ensure suppressor runs before validationseileencodes2016-02-241-0/+1
* | Merge pull request #23628 from maclover7/fix-23625Sean Griffin2016-02-231-0/+6
|\ \
| * | Fix issue #23625Jon Moss2016-02-181-0/+6
* | | Fixed `where` for polymorphic associations when passed an array containing di...Philippe Huibonhoa2016-02-161-0/+2
|/ /
* | Merge pull request #18109 from k0kubun/unscoped-joinsSean Griffin2016-02-111-0/+1
|\ \
| * | Allow `joins` to be unscopedTakashi Kokubun2016-01-311-0/+1
* | | Typos in AR testsAkira Matsuda2016-02-031-1/+1
|/ /
* | Add missing source_type if provided on hmt which belongs to an sti recordVipul A M2016-01-243-0/+10
* | Use the database type to deserialize enumSean Griffin2016-01-231-0/+1
* | Revert "Merge pull request #20835 from glittershark/if-and-unless-in-secure-t...Kasper Timm Hansen2016-01-141-3/+0
* | Skip the STI condition when evaluating a default scopeMatthew Draper2016-01-121-0/+7
* | Support :if and :unless in has_secure_tokenGriffin Smith2016-01-091-0/+3
* | Bugfix collection association #create method …Bogdan Gusiev2015-11-231-0/+6
* | Except keys of `build_record`'s argument from `create_scope` in initialize_at...yui-knk2015-11-162-0/+2
* | Ensure `has_and_belongs_to_many` works with `belongs_to_required_by_default`Sean Griffin2015-10-291-0/+8
* | Fix merge conflicts from #19501Sean Griffin2015-10-291-0/+7
|\ \
| * | DRY up STI subclass logicCody Cutrer2015-03-241-0/+7
* | | Merge pull request #18548 from sebjacobs/support-bidirectional-destroy-depend...Sean Griffin2015-10-281-0/+40
|\ \ \
| * | | Add support for bidirectional destroy dependenciesSeb Jacobs2015-01-161-0/+40
* | | | Revert "Merge pull request #21994 from mtodd/inherit-scopes"Rafael Mendonça França2015-10-271-1/+1
* | | | Make inherited scope test failMatt Todd2015-10-261-1/+1
* | | | Merge pull request #19686 from tsun1215/index_errorsSean Griffin2015-10-262-0/+8
|\ \ \ \
| * | | | Errors can be indexed with nested attributesMichael Probber2015-04-172-0/+8
| | |/ / | |/| |
* | | | Refactor Calculations#execute_grouped_calculation and clean AR test caseRafael Sales2015-10-221-1/+0
* | | | Fix merge conflicts for #19938Sean Griffin2015-10-203-0/+6
|\ \ \ \
| * | | | Fix for activerecord join dependency instantiate bugMehmet Emin İNAÇ2015-05-043-0/+6
| |/ / /
* | | | Remove unused scopesAndy Atkinson2015-10-013-10/+0