I recently ran in to a blog article which referenced an online application called HopToad (http://www.hoptoadapp.com). HopToad is an online application that plugs directly into your Rails
application and collects all errors that are thrown in your app in a
neat and readable UI. I have about 15 Rails applications out there
right now, and HopToad is a life-saver for me.
The best thing is, it’s free. Go to http://www.hoptoadapp.com to try it out.
|
Posted by Eric on 09/17/2008
Posted by Eric on 04/21/2008
This is just a quick fix:
Posted by Eric on 04/17/2008
I have been accepted by O'REILLY publishing to write a pocket reference on Rails 2.0. I'm very excited to get this done. I plan on having the final copy to OREILLY by the end of May or mid June this year. :-D Posted by Eric on 03/03/2008
iContact.com is the #1 provider of Email Marketing tools online. I had an opportunity to test them out against some of their competitors and was amazed on how easy it was to use. You can find them at www.icontact.com Posted by Eric on 02/20/2008
I have been beating my head against the wall for about 6 months trying to figure this out. Here is the step by step process that I used to convert this lead. I am assuming that you already have ActiveSalesforce installed and useable. Please see the examples at ActiveSalesforce to learn how to set it up.
Lead.establish_connection(YAML.load(File.open(File.join(RAILS_ROOT, "config/database.yml"),"r"))["sf_#{ENV['RAILS_ENV']}"])
Now run your console with script/console. Here's where I had a lot of questions and was not able to figure it out. First of all, make sure you are able to get a lead by typing lead = Lead.find(:first)
If you get results, then we're good so far. I found out that you can access the binding directly from the Lead object by doing the following: Lead.connection.binding
You will need to use this to convert the lead. Now that you have a lead object, do the following: leadConvert = {"leadConverts" => {"accountId" => nil, "leadId" => lead.id.slice(0,15), "contactId" => nil, "overwriteLeadSource" => false, "doNotCreateOpportunity" => true, "opportunityName" => nil, "convertedStatus" => 'Converted', "sendNotificationEmail" => false }}
Note that the convertedStatus may be 'Qualified' or something else. You can find it by manually converting a lead on Salesforce and viewing what the convert status is. Next type: convertedLeads = Lead.connection.binding.convertLead leadConvert
This will either return an error or the results which include a new accountId, contactId and opportunityId.
Posted by Eric on 02/11/2008
I found a GREAT website today where I can host my SVN repositories: ProjectLocker.com. If you are like me, you don't want to waste time setting up an svn server to manage this. The cost was amazingly cheap (I think). I am using the $5 per month hosting which is a month-to-month service. Definitely worth it. Check it out.
Posted by Eric on 02/09/2008
I am the primary marketing developer for the leading web-based project management software company called AtTask.
When I was hired on, the existing corporate site (www.attask.com) was written fully in PHP. Although PHP is anexcellent language for fairly rapid development, I quickly found that most of my time would be spent doing manual updates to the static HTML found in the site. We determined that the time was right to switch to Rails. After about 3 months of planning, developing, testing.. more planning, developing, testing.. we finally released a corporate website developed fully in Ruby on Rails. The site may look simplistic for the typical visitor, but behind the face is a fine-tuned elaborate administration system designed to manage the content of 90% of the site, with full Salesforce integration and a complex lead assignment system. Believe me. Its cool! Posted by Eric on 02/09/2008
The blog that you are currently reading this on is actually my first "personal" project that I have on the internet. I have many other projects that I am working on, as you will see in the near future.
I hope to put what I learn with Ruby on Rails and also post projects up on this site. If you are interested in using this blog application, I will make it available shortly for download. My goal with this blog application is to make it as simple and quick to use as possible without all the 'icing on top'. I hope you enjoy using the site as much as I did creating it! |








Subscribe to RSS Feed
