Month: May 2009

List of Ruby Operands

operand what it does shift position of bits in Bignum and Fixnum ~ bitwise NOT (high-presendence) & bitwise AND (medium-presendence) | bitwise OR (medium-presendence) ^ bitwise XOR (medium-presendence) ** exponent…

ImageMagick

Using Mac ports sudo port install ImageMagick If you have an existing ImageMagick installed, you will get this error: Error: Target org.macports.activate returned: Image error: Another version of this port…

Paperclip with Passenger

1) be sure to put in your environment file (inside your initializer) config.gem “paperclip” 2) make sure your form_form has multipart set to true like this: { :multipart => true…