Sha256: 4b84c6ed6e64baa568e3a80547e5cd88d6682f62270face53b901d06c3959bfc

Contents?: true

Size: 216 Bytes

Versions: 27

Compression:

Stored size: 216 Bytes

Contents

class Project < ActiveRecord::Base
  belongs_to :user
  has_many :todos, as: :model_with_todos
  attr_accessible :description, :name, :todos_attributes
  accepts_nested_attributes_for :todos, allow_destroy: true
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
nested_form_fields-0.8.4 spec/dummy/app/models/project.rb
nested_form_fields-0.8.3 spec/dummy/app/models/project.rb
nested_form_fields-0.8.2 spec/dummy/app/models/project.rb
nested_form_fields-0.8.1 spec/dummy/app/models/project.rb
nested_form_fields-0.8 spec/dummy/app/models/project.rb
nested_form_fields-0.7.8 spec/dummy/app/models/project.rb
nested_form_fields-0.7.7 spec/dummy/app/models/project.rb
nested_form_fields-0.7.6 spec/dummy/app/models/project.rb
nested_form_fields-0.7.5 spec/dummy/app/models/project.rb
nested_form_fields-0.7.4 spec/dummy/app/models/project.rb
nested_form_fields-0.7.3 spec/dummy/app/models/project.rb
nested_form_fields-0.7.2 spec/dummy/app/models/project.rb
nested_form_fields-0.7.1 spec/dummy/app/models/project.rb
nested_form_fields-0.7 spec/dummy/app/models/project.rb
nested_form_fields-0.6.4 spec/dummy/app/models/project.rb
nested_form_fields-0.6.3 spec/dummy/app/models/project.rb
nested_form_fields-0.6.2 spec/dummy/app/models/project.rb
nested_form_fields-0.6.1 spec/dummy/app/models/project.rb
nested_form_fields-0.6 spec/dummy/app/models/project.rb
nested_form_fields-0.5.3 spec/dummy/app/models/project.rb