Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix `pluck` and `select` with custom attributes | Ryuta Kamizono | 2019-02-13 | 1 | -1/+7 |
| | | | | | | | | | Currently custom attributes are always qualified by the table name in the generated SQL wrongly even if the table doesn't have the named column, it would cause an invalid SQL error. Custom attributes should only be qualified if the table has the same named column. | ||||
* | Fix regression setting children record in parent before_save callback. | Guo Xiang Tan | 2018-09-03 | 1 | -0/+4 |
| | |||||
* | Add test case for `collection_singular_ids` with symbol primary keys | Ryuta Kamizono | 2018-01-01 | 1 | -1/+1 |
| | | | | This is a regression test for #27864. | ||||
* | Use frozen-string-literal in ActiveRecord | Kir Shatrov | 2017-07-19 | 1 | -0/+2 |
| | |||||
* | Revert "Merge pull request #29540 from kirs/rubocop-frozen-string" | Matthew Draper | 2017-07-02 | 1 | -1/+0 |
| | | | | | This reverts commit 3420a14590c0e6915d8b6c242887f74adb4120f9, reversing changes made to afb66a5a598ce4ac74ad84b125a5abf046dcf5aa. | ||||
* | Enforce frozen string in Rubocop | Kir Shatrov | 2017-07-01 | 1 | -0/+1 |
| | |||||
* | modernizes hash syntax in activerecord | Xavier Noria | 2016-08-06 | 1 | -1/+1 |
| | |||||
* | applies new string literal convention in activerecord/test | Xavier Noria | 2016-08-06 | 1 | -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 right | Aaron Patterson | 2013-09-27 | 1 | -0/+1 |
| | | | | side of a hm:t association along with preloading. | ||||
* | Tests for issue #1360 | Farley Knight | 2011-05-31 | 1 | -0/+15 |
| | |||||
* | Respect the default_scope on a join model when reading a through association | Jon Leighton | 2010-12-16 | 1 | -1/+1 |
| | |||||
* | has_many :through create should not raise validation errors | railsbob | 2009-08-09 | 1 | -0/+4 |
[#2934 state:committed] Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> |