Matthew Draper
87b3e226d6
Revert "Merge pull request #29540 from kirs/rubocop-frozen-string"
...
This reverts commit 3420a14590
, reversing
changes made to afb66a5a59
.
2017-07-02 02:15:17 +09:30
Kir Shatrov
cfade1ec7e
Enforce frozen string in Rubocop
2017-07-01 02:11:03 +03:00
Xavier Noria
b326e82dc0
applies remaining conventions across the project
2016-08-06 20:20:22 +02:00
Xavier Noria
9617db2078
applies new string literal convention in activerecord/test
...
The current code base is not uniform. After some discussion,
we have chosen to go with double quotes by default.
2016-08-06 18:26:53 +02:00
Ladislav Smola
cb4f6875b6
Fix undefined method `owners' for NullPreloader:Class
...
* Fix undefined method `owners' for NullPreloader:Class
Fixing undefined method `owners' for
ActiveRecord::Associations::Preloader::NullPreloader:Class
* Use Ruby 1.9 hash format
Use Ruby 1.9 hash format
#24192
[Rafael Mendonça França + Ladislav Smola]
2016-04-06 00:46:55 -03:00
Yves Senn
2b12288139
AR specific length validator to respect marked_for_destruction
.
...
Closes #7247 .
Conflicts:
activerecord/CHANGELOG.md
activerecord/test/models/owner.rb
2014-12-30 10:25:58 +01:00
Lauro Caetano
2c555ec43a
Fix regression on eager loading association based on SQL query rather
...
than existing column.
Fixes #15480 .
2014-06-03 16:20:08 -03:00
Harry Brundage
177989c6c0
Make AR::Base#touch fire the after_commit and after_rollback callbacks
2014-01-16 09:05:59 -02:00
Neeraj Singh
812469943c
has_many through obeys order on through association
...
fixes #10016
2013-04-04 15:45:13 -04:00
Jon Leighton
1a474cc8e4
Deprecate set_primary_key in favour of self.primary_key=
2011-11-29 20:13:37 +00:00
Jim Remsik and Tim Pope
1e6c50e21b
Ensure has_many :through works with changed primary keys [ #736 state:resolved]
...
Signed-off-by: Pratik Naik <pratiknaik@gmail.com>
2009-03-09 13:43:28 +00:00
Jeremy Kemper
be827f9348
Fixed preloading belongs_to associations which reference a custom foreign key. References #9640 .
...
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8762 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
2008-01-31 07:50:15 +00:00