Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Always convert railtie_name to string

  • Loading branch information...
commit 559979b9844486a920993fdbcb719cb527b837c5 1 parent 43a2aef
@drogus drogus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/lib/rails/railtie.rb
View
2  railties/lib/rails/railtie.rb
@@ -166,7 +166,7 @@ def abstract_railtie?
end
def railtie_name(name = nil)
- @railtie_name = name if name
+ @railtie_name = name.to_s if name
@railtie_name ||= ActiveSupport::Inflector.underscore(self.name).gsub("/", "_")
end
end
Please sign in to comment.
Something went wrong with that request. Please try again.