Archive for June, 2008

Acts_as_Chimp Updates

Fixed a sorta obvious bug and added a new feature to acts_as_chimp today. You can now specify a list of merge tags in your acts_as_chimp model declaration like so: [sourcecode language='ruby'] acts_as_chimp :mailing_list_id => ‘your_list_id’, :mail_merge => {“EMAIL” => :email, “FNAME” => :first_name, “LNAME” => :last_name } [/sourcecode] The plugin will read the method values [...]

Braintree and ActiveResource

Been playing around with accessing Braintree transactions from ActiveResource, using the Query API in particular. Thanks to the folks over at QuarkRuby, getting started was quite easy, so I figured I might as well post what I have for the uninitiated. pastie To get started using the API, use commands like the following: t = [...]

Overrated, May 2008

Arguments about multiple Ruby VMs Discussions about Twitter’s demise Clueless clients Every self-important blog posting I’ve read this month Everything I said in April and May

Recurring billing with Braintree and ActiveMerchant

If you’re using ActiveMerchant and want to setup recurring billing support for Braintree, you should be able to just modify the post parameters being sent across to include your recurring plan name in the following method in the Braintree gateway: Braintree pastie If you want to know more about ActiveMerchant, check out the Peepcode PDF. [...]