> On Jan 22, 2016, at 1:55 PM, fugee ohu <fugee...@gmail.com> wrote:
> 
> 
> 
> 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 %>
> 
> 
> 
> the docs for paperclip describe as being used for attachments, in my case i'm 
> just uploading files not as attachments 

When they refer to attachments in Paperclip, what they mean is that you are 
attaching a file to a Rails model instance. The model instance is saved in the 
database, and the file in the filesystem, so it is an attachment if you look at 
it the way they mean you to.

Walter

> 
> -- 
> 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/e4269bd0-2129-42c0-bd4b-0e88572a468b%40googlegroups.com.
> For more options, visit https://groups.google.com/d/optout.

-- 
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/6D34EDDA-4F07-4D93-B318-8A944C94E656%40wdstudio.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to