diff options
author | José Valim <jose.valim@gmail.com> | 2011-11-23 19:06:45 +0000 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2011-11-23 19:06:45 +0000 |
commit | fd86a1b6b068df87164d5763bdcd4a323a1e76f4 (patch) | |
tree | 559eecb04f11df12756b9c43018cef32ef3ce3ef /actionpack/test/lib | |
parent | 3ee0116c949dfc5760d60fe9c77168fb3868a4ec (diff) | |
download | rails-fd86a1b6b068df87164d5763bdcd4a323a1e76f4.tar.gz rails-fd86a1b6b068df87164d5763bdcd4a323a1e76f4.tar.bz2 rails-fd86a1b6b068df87164d5763bdcd4a323a1e76f4.zip |
Rely on a public contract between railties instead of accessing railtie methods directly.
Diffstat (limited to 'actionpack/test/lib')
-rw-r--r-- | actionpack/test/lib/controller/fake_models.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/lib/controller/fake_models.rb b/actionpack/test/lib/controller/fake_models.rb index 363403092b..f2362714d7 100644 --- a/actionpack/test/lib/controller/fake_models.rb +++ b/actionpack/test/lib/controller/fake_models.rb @@ -175,8 +175,8 @@ class HashBackedAuthor < Hash end module Blog - def self._railtie - self + def self.use_relative_model_naming? + true end class Post < Struct.new(:title, :id) |