Speaker Deck

Rails 5: features

by Claudio B.

Published April 8, 2016 in Programming

Presented at RubyConf.ph in Manila, April 2016

Links from this presentation:

------

Allow '1' or true for acceptance validation
https://github.com/rails/rails/pull/18439

Partial template name does no more have to be a valid Ruby identifier
https://github.com/rails/rails/commit/da9038e

Add migration versioning via Migration subclasses
https://github.com/rails/rails/pull/21538

Per-form CSRF tokens
https://github.com/rails/rails/pull/22275

Ability to return error responses in JSON format
https://github.com/rails/rails/pull/20831

Add has_secure_token to Active Record
https://github.com/rails/rails/pull/18217

Accept a collection in fresh_when and stale?
https://github.com/rails/rails/pull/18374

Add a hidden field on the collection_radio_buttons
https://github.com/rails/rails/pull/18303

Require `belongs_to` by default
https://github.com/rails/rails/pull/18937

Add Rails command infrastructure
https://github.com/rails/rails/pull/22457

Don’t convert empty arrays to nils when deep munging params
https://github.com/rails/rails/pull/16924

Deprecate implicit behavior of halting callback chains by returning false
https://github.com/rails/rails/pull/17227

Initial implementation of ActiveJob AsyncAdapter
https://github.com/rails/rails/pull/21257

More granular console SQL coloration
https://github.com/rails/rails/pull/20607

Beyond Ludicrous Speed
https://github.com/rails/rails/pull/21057