Introduction to Ruby on Rails

in #technology7 years ago (edited)


In my last post, I talked about installing Ruby on Ubuntu. Ruby existed long before Rails came into existence, however, rails made ruby more popular.

This demonstration by https://twitter.com/@dhh made rails very popular among the ruby developers. David was working on the code base for Basecamp, a project management tool by 37signals, later he extracted the codebase and released it as open source with the name of project Ruby on Rails. Since it's first release in 2003, it has successfully closed 20,040 pull requests at the time of this writing.

Ruby on rails has evolved as a first choice framework for most of the startups as it is very easy to get started and focus on building the product than focusing on how to build the product. Thanks to its convention over configuration nature, it has become easier to get familiar with the codebase of any other projects written on ruby on rails.

Ruby on rails is built around MVC(Model View Controller).
Meaning requests first come to the controller, the controller finds and renders appropriate views and interact with model, model interacts with the database and sends response back to controller which then sends the response to the view which is displayed on the users screen.

To get started with Ruby on Rails, we first need to install it. Installing ruby on rails is as easy as installing any other gem.

gem install rails

This will install the latest rails version available at the time.

Sort:  

HY WE ARE FROM NEPAL ..WE CAN BE FRIEND IN STEEMIT AS WELL AS IN FB ..TEAMNEPAL IS GOING TO ORGANISED MEETUP CAMP.. @NITESHBANIYA
LETS MAKE A HEALTHY RELATIONSHIP TO SUPPORT EACH OTHER @NITESHBANIYA
I followed you and would appreciate a follow back. I'm @REECHA looking forward to see more posts! Have a great day and have fun. Welcome!!!!!!!!!!!@NITESHBANIYA

Please upvote, comment, resteem and follow @niteshbaniya
get back to back in touch for upvote
@REECHA

Why is the pending payout crossed out here? I am still new to the platform so I'm curious how things work here.