Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

From Rails form ... how to get values? #168

Closed
jakcharlton opened this Issue Feb 11, 2014 · 1 comment

Comments

Projects
None yet
2 participants

Say I have a form with a "Value" input and a "Currency" input ...

I'm having a problem figuring out how to name the fields to allow

@mymodel.new(params) 

to properly populate the Money field

Or is there even a way to do this?

Lead.new(value: { cents: 100, iso_code: 'EUR'})
Owner

semmons99 commented Apr 21, 2014

is this still and issue?

@semmons99 semmons99 closed this Apr 21, 2014

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