Unfortunately rails 1.2.6 doesn’t have support for ActiveResource, so I was forced to write my own Rapleaf integration model instead of simply using REST.
class Rapleaf < ActiveRecord::Base
def self.grab_contacts(login, password)
response = ""
http = Net::HTTP.new("api.rapleaf.com", 443)
http.use_ssl = true
response = http.start do |http|
req = Net::HTTP::Get.new("/v2/abook?login=#{login}&password=#{password}",
[...]
Haml seems to be the (not so) new hawtness in the rails world. I’ve had some developers who work for me love it and others who hate it. I’m part of the latter group, for two main reasons.
First and foremost, Haml adds a learning curve to your development team. Granted, it’s not a huge learning [...]
Textmate has been dogging me lately, to the point that I couldn’t take it anymore. After talking with other developers and exhaustive google searches, I found out that Textmate doesn’t like large files. So, with a little hack that my boy Kyle showed me, I think I may have fixed the problem.
I opened up my [...]
I’m excited to bring back HappyCodr is a rails blog! The Happycodr database has been moved to Working With Rails. You can browse all sites here and there is a showcase here.