method
fields_for_style?
v4.1.8 -
Show latest stable
- Class:
ActionController::Parameters
fields_for_style?(object)private
No documentation available.
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 370
def fields_for_style?(object)
object.is_a?(Hash) && object.all? { |k, v| k =~ /\A-?\d+\z/ && v.is_a?(Hash) }
end