Sunday, October 16, 2016

Rails 5 essentials Shayan sobhanian

Upgrade to PostgreSQL 9.1 or Later

Devise Gem

Callback Chain Changes

In Rails 5, the preferred method to halt a callback chain is to explicitly call throw(:abort); whereas in previous versions of Rails, you could simply return false from a callback method.

Running Tests

$ rails test

Chapter 2 details most of the changes and additions to the Rails API to help you understand how to update your application.

No comments:

Post a Comment