Hi, it’s Claudio Baccigalupo. Let’s explore this week’s changes in the Rails codebase.
Add –no-banner to bin/rails console
I love seeing the Rails logo when I run the console. If you disagree, bin/rails console --no-banner will remove it for you.
Add support for the HTTP QUERY method
ActionDispatch::Request gets the RFC10008 constant appended to HTTP_METHODS, plus a query? predicate.
Keep the relation scope in Relation#update
update and update! now respect the scope of the Active Record Relation. This is a breaking change:
relation.update(ids, …) called with an id outside the relation used to update the record and now raises RecordNotFound.
























