ryanb / trusted-params

Rails plugin for overriding attr_accessible protection.
MIT License
149 stars 9 forks source link

date attribute #2

Open lucaquerella opened 14 years ago

lucaquerella commented 14 years ago

I've a date attribute birthday, that I update through date_select

I get "attribute "birthday(3i)" is protected from mass assignment, use attr_accessible and obviuslly I used attr_accessible for :birthday.

I worked around through attr_accessible "birthday(3i)", "birthday(2i)", "birthday(1i)"

pollinoco commented 14 years ago

I have same problem, can you help me?