This plugin will submit an ActiveRecord model to SalesForce.com using the Web2Lead gateway.
class Lead < ActiveRecord::Base has_force :oid => '123' end Lead.new(:first_name => "Test").to_salesforce
Copyright © 2009 Sean O’Brien, released under the MIT license