On 22 January 2016 at 04:16, fugee ohu <fugee...@gmail.com> wrote: > This form raises undefined method `pictures_path' for > #<#<Class:0xaea3ad0>:0xbb9cb4c> > > <%= form_for(@picture, :html => { :multipart => true }) do |f| %>
Have you defined that route in routes.rb (via resources: pictures for example)? I agree with Przemek that you would probably be better off using paperclip for uploading. It makes life very easy. Colin -- 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/CAL%3D0gLsVrRarhG3WtxQ7pjX-Cg7tOqTw%3Dz2xnS92QtuFSxEgZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.