Skip to content
This repository has been archived by the owner on Aug 17, 2017. It is now read-only.

ActionController::Parameters.new.respond_to?(:map) returns false even though it's mappable #237

Open
koenpunt opened this issue Mar 22, 2016 · 0 comments

Comments

@koenpunt
Copy link

ActionController::Parameters.new(foo: :bar).respond_to?(:map) # => false

ActionController::Parameters.new(foo: :bar).map do |param|
  param
end
# => [["foo", :bar]]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant