class RailsAdmin::Config::Fields::Types::HasManyAssociation

Public Instance Methods

errors() click to toggle source

Reader for validation errors of the bound object

# File lib/rails_admin/config/fields/types/has_many_association.rb, line 25
def errors
  bindings[:object].errors[name]
end
method_name() click to toggle source
# File lib/rails_admin/config/fields/types/has_many_association.rb, line 20
def method_name
  nested_form ? "#{super}_attributes".to_sym : "#{super.to_s.singularize}_ids".to_sym  # name_ids
end