Rails 5 Application

Hello everyone. Rails 5 beta has been released. Lets learn. Rails 5 has not yet been released. But we can start learning to build a rails 5 application by cloning the rails repository and installing with bundle install. I have installed ruby 2.3.0.

rails51.jpeg

Create a rails 5 application by executing the following command :

bundle exec railties/exe/rails new ~/projects/sample_rails_5

rails52

Add ruby ‘2.3.0’ to your Gemfile.

 

rails53

From rails 5 your application will by default start with puma web server.

rails54.jpeg

Starting from Rails 5, all models will inherit from ApplicationRecord

post2