Thursday, November 5, 2009

Some usefull sites for Ruby on Rails newbies

From http://api.rubyonrails.org/
study all activerecord, actionview and actioncontroller classes
Ex: classes -> active record::call backs
which explains what action done before or after creating a record in database or before deleting a record from one table what needs to done in other tables etc

Ruby hashes. Means associatinve arrays in php. Each values is associated with one key like $array=new array(‘color’ => ‘whilte’ , ‘Height’ => ‘6 feet’)
http://www.rubyonrailsexamples.com/category/ruby-hash/

Validation classes and lot more
http://apidock.com/rails/ActiveRecord/Validations/ClassMethods
http://apidock.com/rails/ActiveRecord/Base
All methods and available for active record like save update delete etc
*********************************

Find Some things to look at
http://www.palmcoder.net/?p=265

Tutorials
Rails ajax (Implementing remote call is very easy in RoR)
http://onlamp.com/onlamp/2005/06/09/rails_ajax.html

Link_to_remote with passing textbox value as a parameter
http://onlamp.com/onlamp/2005/06/09/rails_ajax.html

Forum

http://railsforum.com

Check username availablility
http://railsforum.com/viewtopic.php?id=22828

Gems
http://ariejan.net/gems/

http://www.digitalmediaminute.com/article/1816/top-ruby-on-rails-tutorials

Testing
http://www.tutorialspoint.com/ruby-on-rails-2.1/rails-unit-testing.htm

0 comments: