Active Model in Rails

Active Model in Rails

The technique we used was quite a hack as this is something that ActiveRecord wasn’t designed to do but now in Rails 3.0 we have a new feature
How to host multiple rails site on Nginx

How to host multiple rails site on Nginx

Nginx famous now. We given information for how to host multiple rails site on Nginx. we given the configuration code along with their detailed information.

USA State list for Rails

Every time we need this migration script for our projects Use following command for Model generate [siwan@localhost siwan]$ ruby script/generate model UsStates exists app/models/ exists test/unit/ exists test/fixtures/ create app/models/us_states.rb…Read more →

Install Apatana Studio on Fedora 9

Installation of Apatana in Detail 1. Download zip file from this location(http://www.aptana.com/studio/download) File name:Aptana_Studio_Setup_Linux_1.2.7.zip 2. Then uncompress the .zip file. and copy the resulting 'aptana' folder under '/home/siwan'.(siwan is my…Read more →