Mongoid embedded document support #41

Closed
proton opened this Issue Apr 11, 2012 · 1 comment

Comments

Projects
None yet
2 participants
@proton

proton commented Apr 11, 2012

not supported yet?

@pyromaniac

This comment has been minimized.

Show comment
Hide comment
@pyromaniac

pyromaniac Apr 11, 2012

Member

Supported.

class User
  embeds_many :addresses

  accept_nested_attributes_for :addresses # key instruction )
end
form do
  field :addresses do
    field :city
    field :streen
    field :zip
  end
end
Member

pyromaniac commented Apr 11, 2012

Supported.

class User
  embeds_many :addresses

  accept_nested_attributes_for :addresses # key instruction )
end
form do
  field :addresses do
    field :city
    field :streen
    field :zip
  end
end

@pyromaniac pyromaniac closed this Nov 25, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment