Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add missing space to `symbols_for_association_chain` keys empty error.

  • Loading branch information...
commit d5b723d46b4ca1e4e316fd8a81a1f4084f5d73c7 1 parent 0381c1b
@twe4ked twe4ked authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/inherited_resources/polymorphic_helpers.rb
View
2  lib/inherited_resources/polymorphic_helpers.rb
@@ -142,7 +142,7 @@ def symbols_for_association_chain #:nodoc:
end.compact
if keys.empty?
- raise ScriptError, "Could not find param for polymorphic association. The request" <<
+ raise ScriptError, "Could not find param for polymorphic association. The request " <<
"parameters are #{params.keys.inspect} and the polymorphic " <<
"associations are #{polymorphic_config[:symbols].inspect}." unless polymorphic_config[:optional]
Please sign in to comment.
Something went wrong with that request. Please try again.