On Thursday, January 21, 2016 at 11:16:40 PM UTC-5, fugee ohu wrote:
>
> This form raises undefined method `pictures_path' for 
> #<#<Class:0xaea3ad0>:0xbb9cb4c>
>
> <%= form_for(@picture, :html => { :multipart => true }) do |f| %>
>
>   <p>
>     <%= f.file_field :image %>
>   </p>
>
>   <p><%= f.submit %></p>
>
> <% end %>
>
>
>
  thanks, add column picture to the profile model? profiles can have many 
pictures 

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to rubyonrails-talk+unsubscr...@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/rubyonrails-talk/5b59e848-b53e-453a-a68f-9a5d335dce49%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to