On Mar 17, 6:51 pm, Manny 777 <li...@ruby-forum.com> wrote:

> class Files
>   def self.save(upload)
>             ....
>        img =  Magick::Image.read('public/data/nature6.jpg').first
>        thumb = img.resize(width, height)
>              ...
>   end
> end

I suppose you could try ::Magick although that wouldn't make much
sense unless something was confusing the constant lookup stuff

Fred
>
> I'm sorry for these simply questions, but I am fighting with that the
> second day already and still without succes...
>
> --
> Posted viahttp://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@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to