This project is archived and is in readonly mode.
attr_accessible breaks nested model attributes
-
Kane
RTFM ;)
accepts_nested_attributes_for(*attr_names)
Defines an attributes writer for the specified association(s). If you are using attr_protected or attr_accessible, then you will need to add the attribute writer to the allowed list.
If you dont allow mass-assignment to :questions, :questions will not be assigned.
please set to invalid.
-
Andrew White
- State changed from new to invalid