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 called ActiveModel…Read more →
deploy rails website with passenger -rails deployment, configure a VirtualHost, restart the webserver and there you go, everything should work as expected
Ruby is very powerful object oriented language. Working with pure Ruby is really fun and interesting to me. I am real fan of Ruby language. I am working Ruby on…Read more →
working on Ruby on Rails, daily inventing new things, trying new things and contributing to ROR community. News Ruby on Rails 3.0 released with new features
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.
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 →
Use following code for setting up Nginx for rails.Read more →
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 →