Ruby on Rails
Friday, April 29, 2011
On Fri, Apr 29, 2011 at 5:51 AM, Sira PS <lists@ruby-forum.com> wrote:
-- 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 root project.
What do you think?
When you deploy , if you use capistrano you need to put it under public/system/ or the images will have to be under your source control, which is not practical. That is, if you use capistrano. Anyway i just want you to try a different path.
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment