public
Description: Rails plugin for uploading images as resources, with support for resizing, text stamping, and other special effects.
Homepage: http://fleximage.rubyforge.org
Clone URL: git://github.com/Squeegy/fleximage.git
Corrected a typo for local assigns support.  Also removed a superfulous 
call to load_image on the instance variable passed to views.  Thanks 
austinfromboston.
Squeegy (author)
Sat Apr 12 11:35:03 -0700 2008
commit  423e47af8451be9f4d4188acbee95737b44965e3
tree    eea6ddb3b1c05e744811554e9c686aafdce0cfa4
parent  c1ed0dcae2259c31ce570c0a63dfa5d396702506
...
25
26
27
28
29
30
31
32
33
 
34
35
36
...
25
26
27
 
28
29
30
31
 
32
33
34
35
0
@@ -25,12 +25,11 @@ module Fleximage
0
         # inject assigns into instance variables
0
         assigns.each do |key, value|
0
           instance_variable_set "@#{key}", value
0
- value.load_image if value.respond_to?(:load_image)
0
         end
0
         
0
         # inject local assigns into reader methods
0
         local_assigns.each do |key, value|
0
- class << self; self; end.send(:define_method, key) { val }
0
+ class << self; self; end.send(:define_method, key) { value }
0
         end
0
         
0
         #execute the template

Comments

    No one has commented yet.