similar to: Merb + attachment_fu

Displaying 20 results from an estimated 900 matches similar to: "Merb + attachment_fu"

2007 Apr 02
0
Merb presentation
Merbists, I gave a presentation about Merb to my local Ruby group last week. I''ve put it up as a blog post. Please take a look and let me know if there are obvious errors. http://railspikes.com/2007/4/1/merb Thanks, -- Luke Francl Ruby on Rails Developer Slantwise Design <http://slantwisedesign.com> -------------- next part -------------- An HTML attachment was scrubbed... URL:
2007 Mar 13
2
running merb locally
Stupid question, but is there a way to run merb locally, without installing it as a gem? I don''t mean freezing it into a merb app, but checking out merb and being able to run it without installing the gem first. The reason I ask is that I''m working on some debugging stuff and it''d be helpful to be able to modify the source code, run it, modify, run, and so on. (And yes,
2007 Mar 28
1
attachment_fu & update_attributes... bug?
It seems that attachment_fu is a pretty popular plugin (it''s great), but I''ve been having a terrible time trying to figure out an issue when using "update_attributes". I''m storing files on the file system rather than in a database. It seems that when "update_attributes" is called with a new file, upload_data= tries to copy a file that
2007 Jun 29
1
attachment_fu validation error
I have this class: class Logo < ActiveRecord::Base has_one :something has_attachment :content_type => :image, :storage => :db_file, :max_size => 500.kilobytes :thumbnails => {:web => ''150x100'', :pdf => ''150x100''}, :processor =>
2007 Apr 18
3
nil.symbolize_keys -- error with attachment_fu
I''ve spent at least 2 hours on this one problem. On my local machine in my controller I have this: def new @page_title = "New User" @user = User.new @photo = Photo.new end All is good. Now, on the remote server I get an error when accessing the ''new'' view. If I remove @photo = Photo.new from the controller then the error goes away. This same error
2008 Nov 11
1
attachment_fu, aws-s3 and backgroundrb
Hi, I''m using attachment_fu to store files on amazon s3. A background job is currently performing the upload and I''m having a strange issue where the very first file uploaded/created (attachment_fu uploads when creating the object) does not get uploaded. The db information is all all good. The model and attachment model associated with it are saved to the db, but the file is
2007 Dec 14
0
Calling GC.start with attachment_fu and RMagick -- where or if?
RMagick (and ImageMagick) have been criticized for memory leaks, though the problem is avoidable by timely garbage collection -- 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
2007 Dec 06
0
saving the user id for thumbnails using attachment_fu
I am using attachment_fu to create thumbnails, and it is working great. However, I am have a view with all my users thumbnails displayed and am trying to make it so when you click on a thumbnail of their avatar, it shows that users profile. In order to accomplish this I have saved a user_id identifier for each avatar, but the problem is that attachment_fu only saves this user_id for the main
2009 Jul 24
1
Attachment_fu - watermark tmp file before saved to S3
Hi there, I''d like to use RMagick to watermark an image in the tmp directory before Attachment_fu saves it to Amazon S3. I took a look at the callbacks available in attachment_fu. There''s an ''after_attachment_saved'' method but this would be too late, and a ''before_thumbnail_saved'' but this is no good because it''s for thumbnails. I
2008 Sep 15
1
[attachment_fu] Allways triggering after_attachment_saved callback
Hi, I use attachment_fu in one of my apps and recently I''ve realized that udpates are taking too much time. After some debugging I''ve found that attachment_fu is calling after_attachment_saved callback no mather if attachemnt has changed or not. For example this code: after_attachment_saved do |photo| logger.info "after_attachment_saved" end # in console - always
2007 Dec 13
4
Attachment_fu problems on updates
On the creation of a member the member''s picture uploads as it should. However, when updating the member, while selecting a new picture, an error is thrown: can''t convert nil into String RAILS_ROOT: /Users/chris/Documents/Projects/Rails/CommunityCMS/trunk Application Trace | Framework Trace | Full Trace
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 Sep 03
0
Attachment_fu won't upload images to S3 on Windows XP?
I''ve been slugging through Google posts on why attachment_fu doesn''t want to upload the entire image file to S3 on a Windows XP machine and fine no conclusions as to what I should do? Here is a link with many suggestions. I''ve tried all of them and none work for me. http://www.ruby-forum.com/topic/99870 I try .png, .jpeg and .gif and they all simply put a ghost file up
2009 Jan 24
0
attachment_fu and Internet Explorer
Hi Guys / Gals, I''m stumped on a attachment_fu & IE issues that I hope someone here can help with. I''ve got attachment_fu working nicely with firefox, safari, but when I use the same form from IE, I get the following complain. undefined method `content_type'' for "C:\\Documents and Settings\\Tester\\Desktop\\logo.gif":String I''ve made sure that
2007 May 07
1
attachment_fu seems to be searching the wrong location for my images
I just installed attachment_fu and for some reason, it seems to be looking in the wrong location for my images. I have a Product model that belongs to a photo model. the photo model has the attachment_fu installed and configured like so: class Photo < ActiveRecord::Base has_attachment :content_type => :image, #Allow standard image formats :path_prefix
2009 Jul 17
1
attachment_fu :partition => lamda {}
Hi - I am trying to dynamically create my partition folders via attachment_fu. I have read about a hack that allows you to do this on the attachment model: :partition => lambda {|a| a.article_id} Which passes the model''s object into the lambda and uses the ''article_id'' attribute as its directory name. However, this isn''t work for me. I think the lambda
2007 Dec 17
1
attachment_fu error? Help!
FreeImage exception for type ???: IPTC: Invalid key ''Tag 0x0275 Anyone seen this? FreeImage exception for type ???: IPTC: Invalid key ''Tag 0x0275'' [RAILS_ROOT]/vendor/plugins/attachment_fu/lib/technoweenie/attachment_fu/processors/image_science_processor.rb:14:in `with_image'' Thank you so much in advance for your help! Mike -- Posted via
2008 Jun 24
1
Importing bulk files using Attachment_fu
Hi - Around the corner I have a project to migrate thousands of images per user accounts. The existing structure is each user has a folder named after their account - in it is all of their pics. On the new setup I am using attachment_fu, which I noticed while using physical storage on the server stores the images into folders/subfolders based upon the object (if i''m not mistaken).
2008 Jul 18
2
Use script for attachment_fu
Hi - I would like to iterate through a native folder and execute attachment_fu per each file. Has anyone done this before? Or have any tips or code snippets? Attachment_fu works well via form - but since I have a sizable amount of files I simply want to batch them in - just as if I were doing it via a form. Many thanks! --~--~---------~--~----~------------~-------~--~----~ You received
2007 Feb 06
1
Attachment_fu ImageScience FreeImage thumbnail quality
I''ve tried migrating acts_as_attachment to attachment_fu (just to see if I could replace RMagick with ImageScience+FreeImage), but the quality of the thumbnails is just horrendous, blurred beyond recognition (downscaling a 1280x1024 to a few considerably smaller thumbnails). Changing attachment_fu to use RMagick again and the thumbnails were crispy sharp again. I was wondering