Displaying 5 results from an estimated 5 matches for "attachement_fu".
2010 Jul 11
0
Attachement_fu error when updating existing photos
...d(params[:id])
end
def update
@photo = Photo.find(params[:id])
if @photo.update_attributes(params[:photo])
flash[:notice] = ''Photo was successfully updated.''
redirect_to(''/listingHome/active/edit/'' + @photo.lisitng_id)
end
end
Method failing in attachement_fu
# Gets the full path to the filename in this format:
#
# # This assumes a model name like MyModel
# # public/#{table_name} is the default filesystem path
# RAILS_ROOT/public/my_models/5/blah.jpg
#
# Overwrite this method in your model to customize the filename.
# The optional thumbnail argum...
2008 Oct 25
1
attachment_fu replace thumbnail
hi.
I use attachement_fu and create this two thubnails of an image.
:thumbnails => {
:medium => ''380x>'',
:thumb => ''x100>''
}
Is it possible to replace the existing :thumb image with another image?
The main Image and the :medium should remain unchanged.
thanks
michael
--...
2011 Jan 06
0
issue with the attachment_fu on sinatra with rails 3
Hello experts,
As I''ve posted in my previous post that problem with attachement_fu on
sinatra
http://www.ruby-forum.com/topic/814969#972738
I need to upload an image from my local computer to a web server and
store the location in a database using attachment_fu plugin
Any ideas on how to get this to work?
-Ganesh K
--
Posted via http://www.ruby-forum.com/.
--
You receive...
2008 Feb 02
1
attachment_fu stopped uploading files to S3
Hey everyone,
I''ve been using attachment_fu to upload large media files to S3 with
great success in my rails application. However, it has recently
stopped uploading.
My app appears to be uploading to somewhere, as my browser is
displaying a ''sending request to..." status message for about the
right length of time. The records are also created in my application
database.
2007 Jun 06
10
Attachment_fu S3 uploads killing mongrel
I was wondering if anyone here has seen a similar error to this...
>From mongrel.log
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/
transactions.rb:85:in `transaction'': Transaction aborted
(ActiveRecord::Transactions::TransactionError)
from /usr/lib/ruby/gems/1.8/gems/mongrel-1.0.1/lib/mongrel/
configurator.rb:293:in `call''
from