Displaying 3 results from an estimated 3 matches for "attachmentfu".
Did you mean:
attachment_fu
2007 Dec 14
0
Calling GC.start with attachment_fu and RMagick -- where or if?
...n -- see
this thread:
http://groups.google.com/group/rubyonrails-talk/browse_thread/thread/edee971625603f82/e402fb95de40d54b
Attachment_fu does not call GC.start in any fashion that I can see, so
my questions are these: does it need to, and if so, where would be the
optimal place? It appears that
AttachmentFu::Processors::RmagickProcessor#with_image may be the right
method -- perhaps in the ensure clause? Somewhere else?
Or should GC.start be called in one''s app at, say, the end of the
controller create method that uses attachment_fu -- instead of mucking
about with attachment-fu''s lo...
2008 Oct 14
0
Attachment_fu, db_file and Windows
...t;Invalid JPEG file structure -- missing SOS marker".
Does anyone have any ideas?
I am using ImageScience as my processor.
(BTW, I have already implemented the attachment_fu_patch which fixes
various windows/attachment_fu problems described here --
http://epirsch.blogspot.com/2008/01/fixing-attachmentfu-on-windows-like.html.)
--
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 email to rubyonrails-talk-/JYPxA39Uh5...
2007 Sep 18
2
Making attachment_fu polymorphic
...#39;'public'','''') if path_prefix.include?
(''public'')
path_prefix + ''/'' + ("%08d" %
main_attachment_id).scan(/..../).map{|e|e.to_s + ''/''}.to_s + filename
else
begin
Technoweenie::AttachmentFu::Backends::S3Backend::s3_url
rescue NoMethodError
raise ''Attachment has a bad path, please delete it and upload
it again''
end
end
end
# gets the attachment''s id, or its parent''s id if it has one
def main_attachment_id
((re...