Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge pull request #10080 from vipulnsward/railties_warning_fix_v2

add require to suppress warning; remove variable
  • Loading branch information...
commit 81ed4f5ecbb45e96355a5ff3bd00a2c26ed60503 2 parents db113d9 + 4da888f
@steveklabnik steveklabnik authored
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)
Please sign in to comment.
Something went wrong with that request. Please try again.