Skip to content

Loading…

Mongoid embedded document support #41

Closed
proton opened this Issue · 1 comment

2 participants

@proton

not supported yet?

@pyromaniac
puffer 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
@pyromaniac pyromaniac closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.