Posted on December 9th, 2008 in Book Reviews, Rails, merb, miscellaneous, ruby with no comments
The recent Oreilly book Enterprise Rails has a few chapters on SOA and the entire time I was reading those chapters I kept thinking to myself that Rails is sorta overkill for most services implementations, unless you plan on bundling APIs and applications together. I was going to write something about translating the services [...]
Posted on September 20th, 2008 in Programming, Rails with no comments
For whatever reason, I can rarely remember the myriad syntax for managing gem dependencies in Rails. I’ve visited this page quite a bit during various projects.
When trying to install the zeep messaging gem recently, sure enough I struggled a bit with getting the syntax correct.
Anyway, without further ado, here is [...]
Posted on September 6th, 2008 in Rails, Slicehost with 2 comments
I don’t really bother writing anything about Slicehost installs anymore, as Pickled Onion over at the slicehost articles site writes excellent, up-to-date articles on the most relevant deployment and configuration topics. However, I just did a Radiant install, complete with Phusion Passenger (mod_rails) and Ruby Enterprise on Ubuntu Hardy and found a nice shortcut [...]
Posted on June 10th, 2008 in Programming, Rails with no comments
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 corresponding to the [...]
Posted on June 4th, 2008 in Programming, Rails with no comments
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 = Braintree.find(:all, :params [...]
Posted on June 2nd, 2008 in Programming, Rails with no comments
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. Should [...]
Posted on April 7th, 2008 in Programming, Rails, Web Development with 2 comments
A plugin that beats the monkey metaphors to death:
script/plugin install git://github.com/matthewjcarlson/acts_as_chimp .
Let me know if it does or doesn’t work. It’s less a library then an implementation of a use case I’ve encountered a few times recently. As such, while plugins are falling out of favor a bit, I felt like a [...]
Posted on March 26th, 2008 in Programming, Rails, Web Development with no comments
acts_as_chimp plugin underway this evening….finished product will be here shortly.
update: an early version of the plugin has been added to a github repository. Please see this post.
Posted on October 28th, 2007 in Programming, Rails, Web Design, Web Development with no comments
The Rails community has social networking sites as well as socially-conscious sites. Does anyone know of any sites where the two meet? Or does these communities form de-facto in social networking sites?