Displaying 1 result from an estimated 1 matches for "basname".
Did you mean:
basename
2010 Feb 17
1
Paperclip and viewing images
I have two objects Task and Asset and I want to view image in show task.
Here is my to models
Task.rb
has_many Assets :as => :attachable
And
Asset.rb
has_attached_file :photo, :styles => { :large => "371*251>", :small =>
"72*72>"},
:url => "/assets/:id/",
:path =>