diff --git a/lib/roadie/rails/options.rb b/lib/roadie/rails/options.rb index 0854534..f7ce5d7 100644 --- a/lib/roadie/rails/options.rb +++ b/lib/roadie/rails/options.rb @@ -106,7 +106,7 @@ def [](option) def []=(option, value) if ATTRIBUTE_NAMES.include?(option) - public_send("#{option}=", value) + public_send(:"#{option}=", value) else raise ArgumentError, "#{option.inspect} is not a valid option" end