[Rails] Re: Re: Re: We're sorry, but something went wrong.

2011-04-29 Thread Sira PS
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

[Rails] Re: Re: We're sorry, but something went wrong.

2011-04-27 Thread Sira PS
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

[Rails] Re: We're sorry, but something went wrong.

2011-04-27 Thread Sira PS
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

[Rails] How to add flex project to rails project?

2011-04-27 Thread Sira PS
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

[Rails] We're sorry, but something went wrong.

2011-04-27 Thread Sira PS
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