Rails-6

Rails 6 upgrades to rails notes command and introduction of Rails::Command::NotesCommand

Rails 6 introduces several upgrades to rails notes command and adds Rails::Command::NotesCommand to be used by rake notes under the hood.

Rails 6 adds touch_all method to ActiveRecord::Relation

Rails 6 has added touch_all method to ActiveRecord::Relation to update the updated_at timestamp of multiple records at once.

Rails 6 adds Array#extract!

Rails 6 adds Array#extract! to remove and return the elements for which the block returns a true value.

Rails 6 - I18n key support for submit_tag key

Rails 6 adds I18n style locale key support to submit tag

Rails 6 adds Relation#extract_associated

Rails 6 adds `ActiveRecord::Relation#extract_associated` for extracting associated records from a relation.

Rails 6: Introduces explicitly adding rails server handler option

Rails 6 introduced --using or -u option for specifying the rails server

Rails 6 sms link helper

Rails 6.1.0 adds support for sms_to helper, which renders SMS anchor link tag, which when clicked pops open user's SMS client targetting the specified phone number.

Rails 6 delegate to, with private: true option

Rails 6 adds support to pass an additional option private: true in order to delegate methods as private methods

Rails 6 deprecates update_attributes and update_attributes!

Rails 6 has deprecated update_attributes and update_attributes! in favor of update and update!

Rails 6 adds db:prepare rake task

Rails 6 adds db:prepare rake task which creates the database, loads the schema, runs the migrations and initializes with the seed data