Sha256: 1df5ded639452c706a1cbbdd9a30a7ab940bbb33d64594691568befa86c85c28

Contents?: true

Size: 166 Bytes

Versions: 27

Compression:

Stored size: 166 Bytes

Contents

class User < ActiveRecord::Base
  has_many :projects
  attr_accessible :name, :projects_attributes
  accepts_nested_attributes_for :projects, 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/user.rb
nested_form_fields-0.8.3 spec/dummy/app/models/user.rb
nested_form_fields-0.8.2 spec/dummy/app/models/user.rb
nested_form_fields-0.8.1 spec/dummy/app/models/user.rb
nested_form_fields-0.8 spec/dummy/app/models/user.rb
nested_form_fields-0.7.8 spec/dummy/app/models/user.rb
nested_form_fields-0.7.7 spec/dummy/app/models/user.rb
nested_form_fields-0.7.6 spec/dummy/app/models/user.rb
nested_form_fields-0.7.5 spec/dummy/app/models/user.rb
nested_form_fields-0.7.4 spec/dummy/app/models/user.rb
nested_form_fields-0.7.3 spec/dummy/app/models/user.rb
nested_form_fields-0.7.2 spec/dummy/app/models/user.rb
nested_form_fields-0.7.1 spec/dummy/app/models/user.rb
nested_form_fields-0.7 spec/dummy/app/models/user.rb
nested_form_fields-0.6.4 spec/dummy/app/models/user.rb
nested_form_fields-0.6.3 spec/dummy/app/models/user.rb
nested_form_fields-0.6.2 spec/dummy/app/models/user.rb
nested_form_fields-0.6.1 spec/dummy/app/models/user.rb
nested_form_fields-0.6 spec/dummy/app/models/user.rb
nested_form_fields-0.5.3 spec/dummy/app/models/user.rb