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.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
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.
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…………….