Browse files

So, 'ruby -w script/rails server' is kinda useful for finding bad codes.

  • Loading branch information...
1 parent f877ef9 commit c6e2880a3cf9f949b3000922ec77dd1fa676e8b1 @parndt parndt committed Aug 23, 2011
Showing with 2 additions and 2 deletions.
  1. +1 −1 config/application.rb
  2. +1 −1 settings/app/models/refinery/setting.rb
View
2 config/application.rb
@@ -11,7 +11,7 @@
# If you have a Gemfile, require the default gems, the ones in the
# current environment and also include :assets gems if in development
# or test environments.
-Bundler.require *Rails.groups(:assets) if defined?(Bundler)
+Bundler.require(*Rails.groups(:assets)) if defined?(Bundler)
module ::RefineryApp
class Application < Rails::Application
View
2 settings/app/models/refinery/setting.rb
@@ -210,5 +210,5 @@ def replacements!(current_value)
current_value
end
- end
+ end
end

0 comments on commit c6e2880

Please sign in to comment.