Sunday, February 21, 2010

Ruby on Rails

Here is how the concept of Model, View, Controller (MVC) fits into rails.

  1. ActiveRecord is the Model. Business logic is here
  2. ActionView is the View. HTML and XML goes here
  3. ActionController is the Controller. The routing requests and their processing goes in here
  4. ActiveResource: Support for RESTful APIs.
  5. Active Support: JSON glue/helpers, All extensions to Ruby base classes and other "stuff"

I need to get more definition on items 3, 4 and 5.


Monday, December 14, 2009

RailRoad: Ruby on Rails Class Diagram Generator

I am not sure I will ever need this but it could be useful:

RailRoad

Gmail Ruby Gem

Here is another gem for use with gmail:

ruby-gmail

Alchemist Ruby Gem: Unit Conversions

Nice gem for those who do unit conversions:

alchemist


Monday, November 2, 2009

Scraping Gmail

Scraping gmail for unread emails:

Scrape email


Saturday, July 25, 2009

Sunday, June 22, 2008

SSH Server Setup


This shows how to obtain a SSH certificate and how to use it in your server. I am not sure it is applicable to Ruby-on-Rails etc.

SSH Setup in Servers