Add attr_protected to all models to resolve issue where generate rb cannot insert its data into the database