search for: lifson

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

Did you mean: liason
2006 Jan 28
2
Creating html e-mails with embedded graphics
I am new to RoR and I have a new project for which I''d like to use it. I have created a short list of the important functionality I need and it seems like everything is covered except one thing: I need to generate and send mime-encoded e-mails with a plain text part, an HTML part with embedded graphics, and possibly an attachment. In the old days (up until last week) I would have
2008 Mar 02
0
Models are not initialised correctly with ''rake test'' in Merb 0.9.1
I''m using Sequel as my ORM and Test::Unit as my testing framework and have the following model: class Item < Sequel::Model validates do presence_of( :name, :uuid, :vendor_id, :vendor_reference, :amount, :currency_code ) uniqueness_of( :uuid ) end def initialize( *args ) super( *args ) self.uuid = UUID.random_create.to_s end end As you can see I overwrite
2008 Oct 30
2
Rails console
I tried to create an addition to Enumerable called choose_randomly that picks a random element from the Enumerable object. However when I define it and execute the code rand complains about the wrong number of arguments. Below is a capture of the ./script/console session. farrel@nicodemus ~/Work/GreenGreen/Code/green_green_client_application $ ./script/console Loading development environment