Active Record Associations - has_many locations
StjepanSD opened this issue · 3 comments
StjepanSD commented
Hey,
I've noticed the gem doesn't work with has_many relations. I was wondering if there's a way to bypass this or has that not been implemented at all?
e.g.
f.inputs do
f.has_many :locations do |g|
g.input :lan
g.input :lng
g.lanlng ...
end
end
I've tried adding the map directly into the FormBuilder < ::Formtastic::FormBuilder the same way you've added it to the form but I couldn't really get it to work. I tried playing around with the has_many fields a bit but with no success.
Cheers
forsaken1 commented
@StjepanSD hello! I'll check it 👍
lyohich812 commented
@forsaken1 @StjepanSD any solution for this yet?
StjepanSD commented
Not that I know of, sorry.