Hi.. I am going to learn Ruby on Rails (ROR) , can any one help me how to write a "hello world" program and How can I run the program.
First, you have to install ruby http://www.ruby-lang.org/en/ . All your things you have to install you find here http://rubyonrails.org/download Well, i suggest to start with http://rubyonrails.org/screencasts, the 15 minutes weblog tutorial.
I got the answer....
we need to use the following steps.
rails appliaction_name - It will create a directory. In that directory contains list of files and directories.
app config doc log Rakefile script tmp components db lib public README test vendor
Change the file mode "777" for public/ log/ and tmp/ file. because the program will write the datas in to the files.
./script/generate controller controller_name
Then it will create the controller_name.rb (ruby file in app/ directory)
Then we can write the codeing in to the app/controllers/controller.rb file.
Then we need to call the function from browser.
Thanks................