But I think it should store in defualt path, doesn't it?
The defaul path is
“:rails_root/public/:attachment/:id/:style/:basename.:extension”
Which the file which I attach should be appeared under public folder.
That means no need to set any thing because public folder is already
existed under ro
Radhames Brito wrote in post #995446:
> sorry i meant you should check that you can still pass
>
> ":rails_root/public/:class/:attachment/:id/:style_:basename.:extension"
>
>
> instead of
>
> Rails.root.join
Thank you for your response. I checked as you told me and I found that
it pass to
":rails
I already check with there website, has_attached_file is still valid.
https://github.com/thoughtbot/paperclip#readme
--
Posted via http://www.ruby-forum.com/.
--
You received this message because you are subscribed to the Google Groups "Ruby
on Rails: Talk" group.
To post to this group, send e
I'm starting to learn in flex and ruby on rails.
I see some projects there is a flex folder which contains controller,
models, views. I think it's not mannually to add these folders to rails
project.
How to do that?
--
Posted via http://www.ruby-forum.com/.
--
You received this message because
I'm learning about Paperclip: Attaching Files in Rails, following this
link
http://jimneath.org/2008/04/17/paperclip-attaching-files-in-rails.html
I place these code to display image on show.html.erb
<%= image_tag @user.photo.url %>
<%= image_tag @user.photo.url(:thumb) %>
On new page, I browse a
5 matches
Mail list logo