aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/models/contract.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add test case for `collection_singular_ids` with symbol primary keysRyuta Kamizono2018-01-011-1/+1
| | | | This is a regression test for #27864.
* Use frozen-string-literal in ActiveRecordKir Shatrov2017-07-191-0/+2
|
* Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"Matthew Draper2017-07-021-1/+0
| | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa.
* Enforce frozen string in RubocopKir Shatrov2017-07-011-0/+1
|
* modernizes hash syntax in activerecordXavier Noria2016-08-061-1/+1
|
* applies new string literal convention in activerecord/testXavier Noria2016-08-061-1/+1
| | | | | The current code base is not uniform. After some discussion, we have chosen to go with double quotes by default.
* adding a test to demonstrate how to use STI subclasses on the far rightAaron Patterson2013-09-271-0/+1
| | | | side of a hm:t association along with preloading.
* Tests for issue #1360Farley Knight2011-05-311-0/+15
|
* Respect the default_scope on a join model when reading a through associationJon Leighton2010-12-161-1/+1
|
* has_many :through create should not raise validation errorsrailsbob2009-08-091-0/+4
[#2934 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net>