Topic: How to Use the Ruby on Rails Console to Query

Ruby on Rails is a popular Web application framework. It almost single-handedly brought the Ruby programming language to prominence. Rails is a MVC, or Model View Controller, Web framework that strives to make Web application development easier. Rails provides numerous tools for working with all of the data that Web developers need to manage. The Rails console makes dealing with data directly easy.Instructions1rtm homes saskatchewan   Open a terminal window. On Windows, navigate to

Last edited by lilchuik (2012-06-15 07:23:19)

Re: How to Use the Ruby on Rails Console to Query

just type rails console on terminal

Re: How to Use the Ruby on Rails Console to Query

according to the rails version you used, if you use rails 3.x.x ,open your terminals and type:

rails c

if use rails 2.3.x , you should type:

ruby script/console