Re: Delegated attribute are set and saved from console, but not from front-end

20 views
Skip to first unread message

Frederick Cheung

unread,
Aug 24, 2012, 7:32:15 AM8/24/12
to rubyonra...@googlegroups.com


On Wednesday, August 22, 2012 6:33:56 PM UTC+1, Radovan Šmitala wrote:

But when is Category saved from front-end html form. It doesn't work, and return me, that file attribute is blank. My form:

= simple_nested_form_for @category, html: { class: "form-horizontal" } do |f|
 
= render 'shared/error_messages', object: @category

Is your form being set to multipart ? File uploads won't work without that.

Fred

Reply all
Reply to author
Forward
0 new messages