method

fields_for_style?

Importance_0
v4.0.2 - Show latest stable - 0 notes - Class: Parameters
fields_for_style?(object) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File actionpack/lib/action_controller/metal/strong_parameters.rb, line 341
      def fields_for_style?(object)
        object.is_a?(Hash) && object.all? { |k, v| k =~ /\A-?\d+\z/ && v.is_a?(Hash) }
      end
Register or log in to add new notes.