wbsmith83-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-22 04:55 UTC
Attachment fu on windows
I''ve tried and tried. I couldn''t get freeimage installed. I got mini_magick installed, but everytime I try Mike Clark''s tutorial, I get the error ''Size is not in the list''. I found some people fixed this by putting a sleep statement in their controller, but this didn''t work for me. Any help out there? --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
dnstevenson-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org
2007-Jul-24 01:26 UTC
Re: Attachment fu on windows
Hey - I just ran into this problem last week. I spent a few hours trying to resolve it, but was unsuccesful in finding what the root problem was. So - I took out the validation of the size attribute from the attachment_fu.rb file. Line #344 has this line: [:size, :content_type].each do |attr_name| Remove the :size and you''ll be OK for windows. Again, that doesn''t answer the root problem, but it will enable you to keep going. Regards, Dave http://www.stevensonsoftware.com - affordable VPS Hosting http://www.gotossh.com - web based SSH On Jul 21, 10:55 pm, "wbsmit...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org" <wbsmit...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> I''ve tried and tried. I couldn''t get freeimage installed. I got > mini_magick installed, but everytime I try Mike Clark''s tutorial, I > get the error ''Size is not in the list''. I found some people fixed > this by putting a sleep statement in their controller, but this didn''t > work for me. Any help out there?--~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
specifying the size by range solves the problem in windows: :size => 0.kilobytes..500.kilobytes -- 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
This fixed my problem. http://tinyurl.com/2de4ts On 7/22/07, wbsmith83-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org <wbsmith83-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> > I''ve tried and tried. I couldn''t get freeimage installed. I got > mini_magick installed, but everytime I try Mike Clark''s tutorial, I > get the error ''Size is not in the list''. I found some people fixed > this by putting a sleep statement in their controller, but this didn''t > work for me. Any help out there? > > > > >-- Ramon Tayag --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---