Skip to content
This repository was 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

Description

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

ActionController::Parameters.new(foo: :bar).map do |param|
  param
end
# => [["foo", :bar]]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions