search for: an_image

Displaying 3 results from an estimated 3 matches for "an_image".

Did you mean: ad_image
2008 Jan 22
1
getting multiple select to work: options_for_select
Hi, <%= select_tag ''image_id'', options_for_select(Image.find(:all) {| an_image| [ an_image.name, an_image.id ] }), :multiple => true %></p> * I am in a view, and I am trying to search the image table and make a multiple select box with each image''s name. * Right now it is working, but I see this: --------------------------------------------- #<Image:...
2009 Jul 07
2
paperclip unit testing
...my model: --- CODE START --- has_attached_file :image, :default_url => '''' attr_protected :image_file_name, :image_content_type, :image_image_size --- CODE END --- Than I type a UNIT test: --- CODE START --- foo=FooModel.new({:image => File.new(''test/fixtures/img/an_image.gif'')}) --- CODE END --- This works fine until... in that model I have a validator that accesses the "image" attribute: --- CODE START --- image.path --- CODE END --- But there is no image under that path, since it points to RAILS_ROOT/public/system/images/... What should I do...
2007 Aug 06
3
base64 image
Hi all, is there any way to load a base64 converted image using classes such as Image or Bitmap? Thank you, fabio. _______________________________________________ wxruby-users mailing list wxruby-users@rubyforge.org http://rubyforge.org/mailman/listinfo/wxruby-users