Category Archives: SugarCRM Ruby gem

Data wrangling and Ruby metaprogramming

I needed to combine customer data from 2 separate sources (a homebrew warehouse and CRM) and output a report. Given I’d be dealing with similar objects with overlapping attributes, it would be really easy to make a gigantic mess with … Continue reading

Posted in Automation, Ruby, SugarCRM Ruby gem | Comments Off

Adding a namespaced Rails generator to a standalone Ruby gem

I wanted to add a generator to the SugarCRM ruby gem, but couldn’t find any straightforward resources on doing just that: taking a standalone ruby gem, and adding a¬†generator that is available from within a Rails environment. To make matters … Continue reading

Posted in Rails, Ruby, SugarCRM Ruby gem | 2 Comments

Ruby Gem for SugarCRM: Advanced use

This is an article about “advanced” use of the SugarCRM Ruby gem. We’ve previously covered using basic gem functionality, and building a simple rails app using the gem to make a CRM portal, so you might want to take a … Continue reading

Posted in CRM, Ruby, SugarCRM Ruby gem | Comments Off

Ruby Gem for SugarCRM: Ruby on Rails Integration

Having gone over the basics in a previous article, we will now cover how you can get a basic Rails 3 app (using the SugarCRM Ruby gem) up and running. (The SugarCRM Ruby gem relies on ActiveSupport >= 3, and … Continue reading

Posted in CRM, Rails, Ruby, SugarCRM Ruby gem | 4 Comments

Ruby Gem for SugarCRM: the Basics

The Ruby gem for SugarCRM has already been briefly presented in a SugarCRM Developer Zone article, but has been drastically improved over the last months. In the following lines, we’ll go over a few of these improvements and show you … Continue reading

Posted in CRM, Ruby, SugarCRM Ruby gem | 7 Comments