Permalink
Browse files

Added the ability to enable this plugin in an environment other than …

…'development'. To do so, append this in environments/test.rb: def config.soft_reload; true; end
  • Loading branch information...
1 parent fae50ef commit 9eefbd7e392dd36678549c76d95f05295fc88459 @Roman2K committed Nov 24, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 init.rb
View
@@ -1,4 +1,4 @@
-if Rails.env.development?
+if Rails.env.development? || (config.respond_to?(:soft_reload) && config.soft_reload)
require 'rails_development_boost'
RailsDevelopmentBoost.apply!
end

0 comments on commit 9eefbd7

Please sign in to comment.