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

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msg/rubyonrails-talk/-/iv6gAJEJoOIJ.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to