class RailsAdmin::Config::Fields::Types::NestedList

Public Instance Methods

errors() click to toggle source

Reader for validation errors of the bound object

# File lib/rails_admin_extended_fields.rb, line 50
def errors
  bindings[:object].errors[name]
end
method_name() click to toggle source
# File lib/rails_admin_extended_fields.rb, line 45
def method_name
  nested_form ? "#{super}_attributes".to_sym : "#{super.to_s.singularize}_ids".to_sym # name_ids
end