Heard of ruby rails?Well,ruby on rails is a web application framework
written in Ruby language.Ruby rails is the programming language that I
used during my internship period.It involves less coding and is using
the scaffolding concept.
To develop a web application using Ruby on Rails Framework, the following software must be installed:
- Ruby
- The Rails framework
- A Web Server
- A Database System use either MYSQL or MySQL Lite
- Code editor which is Aptana or sublime text
|
MySQL Lite |
|
MySQL Query Brwoser |
|
using command prompt to generate a new folder |
|
The after the generate new command in command prompt |
|
to run the system u need to type rails s
|
JQuery can be used to beautify the website. To download and use JQuery,go to
here.
I'm also using pik for different versions of ruby.It is not necessary to use pik as it is used to manage the different versions of Ruby.Before running pik,u need to go to install
pik . :)
|
'how to run pick' instruction |
|
to create a table,u have to run rake db:migrate command |
Before you run rake db:migrate u must first create the database tables by running rake db:create
|
Why to run rake routes? Because you'll see that all the routes for the
standard actions. |
I forget to mention tha The default database is sql lite,if u want to use mysql you have to specify the database by inserting command rails new "filename" -d=mysql when a new project is developed
P.s: currently rails has the lastest version which is Rails 4.0.
There are some tutorials that is useful for the learning of Ruby on Rails:
Web Page 1
Web Page 2:videos ,
coding challenges are available
Web Page 3:This website not only teaches ruby on rails but also Python and other web programming languages as well.:)
No comments:
Post a Comment