You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Ruby on Rails: Talk
Can i add attributes to set in create in addition to whateveer's in params list even if the additional attributes are the only source for attributes which are validated at the model level For me, headline is validated in the model but there's no headline field in the form, it gets created on the fly in the controller using the info from the other fields in the params list as @news_item.headline="whatever" where form is form_for(@news_item) and there's not going to be params[:news_item] sent to the controller