"title"=>"Rails World CFP, ActiveRecord::Base.with_connection, devcontainer and puma-dev support and more!",
"summary"=>"Hi! Vipul here with the latest updates for This Week in Rails!",
"content"=>"
Hi! Vipul here with the latest updates for This Week in Rails!
\n\nRails World CFP
\nCall for Papers is now open for The Rails World 2024 conference that will be held in Toronto, Canada this year.\nThe CFP will remain open until 21st March.\nHead over here to submit your proposal!
Generate devcontainer files by default
\nThis change generates a .devcontainer
folder and its contents when creating a new app.\nThe .devcontainer
folder includes everything needed to boot the app and do development in a remote container.\nThese files can be skipped using the --skip-devcontainer
option.
Add ActiveRecord::Base.with_connection
as a shortcut for leasing a connection for a short duration
\nThis change adds ActiveRecord::Base.with_connection
as a shortcut for leasing a connection for a short duration.\nThe leased connection is yielded, and for the duration of the block, any call to ActiveRecord::Base.connection
will yield that same connection.\nThis is useful to perform a few database operations without causing a connection to be leased for the entire duration of the request or job.
Support encrypting binary columns
\nPreviously encrypting binary columns with the ActiveRecord::Encryption::MessageSerializer
incidentally worked for MySQL and SQLite, but not PostgreSQL.\nThis change adds proper support now for encrypting binary columns types.
Suggest puma-dev configuration in bin/setup
\nRails now suggest puma-dev as the golden path for developing multiple Rails applications locally, if you’re not using Docker.\nbin/setup
has now been updated to suggest how to get that setup.
Add .test to default allowed host in development mode
\nContinuing on support for puma-dev this change adds “.test” as a default allowed host in development to ensure a smooth setup.
You can view the whole list of changes here.
\nWe had 30 contributors to the Rails codebase this past week!
Until next time!
\n\nSubscribe to get these updates mailed to you.
","author"=>"vipulnsward",
"link"=>"https://rubyonrails.org/2024/2/16/this-week-in-rails",
"published_date"=>Fri, 16 Feb 2024 00:00:00.000000000 UTC +00:00,
"image_url"=>nil,
"feed_url"=>"https://rubyonrails.org/2024/2/16/this-week-in-rails",
"language"=>nil,
"active"=>true,
"ricc_source"=>"feedjira::v1",
"created_at"=>Wed, 03 Apr 2024 14:31:20.856016000 UTC +00:00,
"updated_at"=>Tue, 14 May 2024 04:41:52.567060000 UTC +00:00,
"newspaper"=>"Ruby on Rails",
"macro_region"=>"Technology"}