trusted-params icon indicating copy to clipboard operation
trusted-params copied to clipboard

date attribute

Open lucaconlaq opened this issue 15 years ago • 1 comments

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)"

lucaconlaq avatar May 02 '10 10:05 lucaconlaq

I have same problem, can you help me?

pollinoco avatar Jul 28 '10 17:07 pollinoco