Kir Shatrov
831be98f9a
Use frozen-string-literal in ActiveRecord
2017-07-19 22:27:07 +03:00
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
Rafael Mendonça França
76d6ec2a9a
Fix has_and_belongs_to_many in a namespaced model pointing to a non namespaced model
...
Now the following case will work fine
class Tag < ActiveRecord::Base
end
class Publisher::Article < ActiveRecord::Base
has_and_belongs_to_many :tags
end
Fixes #15761
2014-06-19 14:59:48 -03:00
Kassio Borges
8f6e5986ac
Fix how to compute class name on habtm namespaced.
...
Thank's for @laurocaetano for the help with tests. 😃
Fixes #14709
2014-05-13 11:26:46 -03:00