thetron / mongoid-enum

Sweet enum sugar for your Mongoid documents
MIT License
117 stars 167 forks source link

Saving a multiple enum #9

Closed javierjaimes closed 9 years ago

javierjaimes commented 10 years ago

Hi Thetron,

I just have a simple question, I have an enum with option multiple equal to true. What is the correct way to send the params for autosave?

I mean my form is sending day => [ 'day1', 'day2' ] but the i have error with the validation.

thetron commented 9 years ago

@senorpasajero Thanks for this - I know this response is super late, but this was (kinda) a bug, and will be resolved in the next version (due in the next couple of days). :beers: