Method: ActiveScaffold::DataStructures::NestedInfoAssociation#create_with_parent?

Defined in:
lib/active_scaffold/data_structures/nested_info.rb

#create_with_parent?Boolean



118
119
120
121
122
123
124
# File 'lib/active_scaffold/data_structures/nested_info.rb', line 118

def create_with_parent?
  if has_many? && !association.through?
    false
  elsif child_association || create_through_singular?
    true
  end
end