diff options
author | Carl Lerche <carllerche@mac.com> | 2009-12-31 11:57:48 -0800 |
---|---|---|
committer | Carl Lerche <carllerche@mac.com> | 2009-12-31 11:57:59 -0800 |
commit | 2f8643955a780f0c2fe46d0ae68db8d51b76fbbf (patch) | |
tree | 4108699d7a1fcf551d598f3e7aba1221d8b38de8 /railties/lib | |
parent | a23f4b6aeed6b49f90f5c544c818798840f090b7 (diff) | |
download | rails-2f8643955a780f0c2fe46d0ae68db8d51b76fbbf.tar.gz rails-2f8643955a780f0c2fe46d0ae68db8d51b76fbbf.tar.bz2 rails-2f8643955a780f0c2fe46d0ae68db8d51b76fbbf.zip |
Raise a helpful error if config.frameworks is used
Diffstat (limited to 'railties/lib')
-rw-r--r-- | railties/lib/rails/configuration.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/lib/rails/configuration.rb b/railties/lib/rails/configuration.rb index 12bf076f61..adb11e8257 100644 --- a/railties/lib/rails/configuration.rb +++ b/railties/lib/rails/configuration.rb @@ -119,6 +119,13 @@ module Rails end end + def frameworks(*args) + raise "config.frameworks in no longer supported. See the generated" \ + "config/boot.rb for steps on how to limit the frameworks that" \ + "will be loaded" + end + alias frameworks= frameworks + # Enable threaded mode. Allows concurrent requests to controller actions and # multiple database connections. Also disables automatic dependency loading # after boot, and disables reloading code on every request, as these are |