Merbists, I saw a note in the attachment_fu source code regarding supporting Merb[1] as well as a post on the Caboose forum[2]. Has anyone gotten Merb working with Rick Olson''s attachment_fu to handle uploads for a Rails app? I''ve hacked together something, but it''s not pretty. Besides fixing the TODO mentioned in the attachment_fu source code to support Merb tempfiles, the main thing I''ve done is change is attachment_fu''s init.rb to manually load the files in its lib directory (and, trivially, define the RAILS_ROOT constant in merb_init.rb). I think this is due to the way that merb loads plugins (Dir[DIST_ROOT+"/plugins/*/init.rb"].each { |m| require m }) versus how Rails loads plugins (see Rails::Initializer#load_plugin). Any thoughts on making Merb able to load a typical Rails ActiveRecord plugin more easily? Regards, Luke Francl [1] http://svn.techno-weenie.net/projects/plugins/attachment_fu/lib/technoweenie/attachment_fu.rb [2] http://beast.caboo.se/forums/2/topics/833 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/merb-devel/attachments/20070309/b480c1a6/attachment.html