Browse files

Merge pull request #10080 from vipulnsward/railties_warning_fix_v2

add require to suppress warning; remove variable
  • Loading branch information...
2 parents db113d9 + 4da888f commit 81ed4f5ecbb45e96355a5ff3bd00a2c26ed60503 @steveklabnik steveklabnik committed Apr 3, 2013
View
1 activesupport/lib/active_support/core_ext/big_decimal/conversions.rb
@@ -1,4 +1,5 @@
require 'bigdecimal'
+require 'bigdecimal/util'
require 'yaml'
class BigDecimal
View
2 railties/lib/rails/generators/named_base.rb
@@ -40,7 +40,7 @@ def module_namespacing(&block)
def indent(content, multiplier = 2)
spaces = " " * multiplier
- content = content.each_line.map {|line| line.blank? ? line : "#{spaces}#{line}" }.join
+ content.each_line.map {|line| line.blank? ? line : "#{spaces}#{line}" }.join
end
def wrap_with_namespace(content)

0 comments on commit 81ed4f5

Please sign in to comment.