Rails 5.0.5 and 5.1.3.rc3 released

Hi everyone,

I am happy to announce that Rails 5.0.5 and 5.1.3.rc3 have been released.

If no regressions are found for 5.1.3.rc3, expect the final release on Thursday, August 3, 2017. If you find one, please open an issue on GitHub and mention me (@kaspth) on it, so that we can fix it before the final release.

CHANGES since 5.0.4

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

CHANGES since 5.1.2

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

If you’d like to verify that your gem is the same as the one I’ve uploaded, please use these SHA-256 hashes.

Here are the checksums for 5.0.5:

$ shasum -a 256 *-5.0.5.gem
479efb52e6b6fedfcafcd3530be24dc7b9829dd41e0f5a37212ed4d67146f51b  actioncable-5.0.5.gem
c48a93381dde7206fd2cb0ddc00a922021fcdf6bce35c262bd357c7922a63fb7  actionmailer-5.0.5.gem
2202866aded8d787efb4c3a7e6d4f55262ac4f2acfe92c097855a9afc8229f37  actionpack-5.0.5.gem
cb4d2928b63f29931a6d05adde78bcf7dac83bf79a05911547068af2da765a6b  actionview-5.0.5.gem
af79fc954e9ddece35ef4975b9a244b2bb48a76e17a19c0dff7233fc75852877  activejob-5.0.5.gem
e6b8fc4ffb6ab748b28e5a234d1d2f3e49689b0655166e188014a582b50cdee2  activemodel-5.0.5.gem
89651a138aaf0755d2a9db7cda3e914e93f86b4504bcb31b41fb379e2dde28de  activerecord-5.0.5.gem
00c714979fffa05846a2d044f24f9569a5ae471b2e20c73fdf3172f1d81edfb1  activesupport-5.0.5.gem
15e2c25872e5dc2069b0d7bf4535eb4887e77d49166ccfba5871a904c18957b1  rails-5.0.5.gem
5b1cb323c3fa70ff5801f58fbb9688a8231a4cc0414d3c97d0ad0a5bc94fbefb  railties-5.0.5.gem

Here are the checksums for 5.1.3.rc3:

$ shasum -a 256 *-5.1.3.rc3.gem
f1b9758a78543bb27f65946a65a94e803140787b781f24983c696d89315685ea  actioncable-5.1.3.rc3.gem
8c57af610a7bac0cd91c0b09a0df2f66575ddb20204342b98d28bd6d051578b0  actionmailer-5.1.3.rc3.gem
9e69dcef628dbe12b5937a368e55ac79b71b38261d4187465200352d5278572d  actionpack-5.1.3.rc3.gem
d93ac77d4d6d2fa468a7407fda4088c9ca975aa00e78c18dd2b71e398af3b3dd  actionview-5.1.3.rc3.gem
2d0410f1a279b27e4bacddca4a8bc1f88c0e8c18429751370be8d41fb630cba9  activejob-5.1.3.rc3.gem
987567e336267497cb9222e4e689f58bfd06e9829071ae32d65b9a291fb0e8b3  activemodel-5.1.3.rc3.gem
159c9d330cec1ac9a92c9e0c68f0f088b4273f0ba163c3159f4a7369d9948229  activerecord-5.1.3.rc3.gem
6d4320c2e93e9f6239438cf7886b1111956b5d72cb5a7026402fa29021ae571f  activesupport-5.1.3.rc3.gem
f3551c5eec9649bc225552e0ed8ecee6dac9f4f97ca13e78bf018e36385852e8  rails-5.1.3.rc3.gem
59669b8098787c077b76642804a1543cdca8fabafabad7bbce74622508f79a3d  railties-5.1.3.rc3.gem

As always, huge thanks to the many contributors who helped with this release.

New releases, bugfixes and more than 30000 issues/PRs!

Hello everyone! This is Prathamesh with the latest news from the Rails world.

Rails 5.1.3.rc2 and 5.0.5.rc2 released

Two new release candidates has been released this week, if there are no regressions found, the final releases are coming next week! We said it last week as well 😁

This Week’s Rails contributors!

27 people helped to make Rails better this week with 7 of them for the first time! If you want to be one of them, checkout the issues list, help is always welcomed!

Rails crosses 30000 issues/PRs on GitHub

As of this writing the count is increased to 30004. 28805 of all of these issues and PRs have been processed already! That’s pretty awesome 🎉

Let Arel manage the bind params

Active Record no longer manages the bind parameters required for queries. Now Arel handles it on it’s own and returns the AST and bind params together. 

Add missing support for modulo operations on durations

Rails 5.1 introduced ActiveSupport::Duration::Scalar class as a wrapper around a numeric value as a way of ensuring a duration was the outcome of an expression. However the implementation was missing support for modulo operations. This is now fixed.

Fix division where the denominator is duration

This fixes a regression where result of division by duration was not returning Numeric result. It is now restored to the previous behavior of Rails 5.1.1 and prior.

That’s all for this week, as always, we couldn’t cover all of the changes, but feel free to check the commits if you are interested. Until next week!

Rails 5.0.5.rc2 and 5.1.3.rc2 have been released

Hi everyone,

I am happy to announce that Rails 5.0.5.rc2 and 5.1.3.rc2 have been released.

If no regressions are found, expect the final release on Monday, July 31, 2017. If you find one, please open an issue on GitHub and mention me (@kaspth) on it, so that we can fix it before the final release.

CHANGES since 5.0.4

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

CHANGES since 5.1.2

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

If you’d like to verify that your gem is the same as the one I’ve uploaded, please use these SHA-256 hashes.

Here are the checksums for 5.0.5.rc2:

$ shasum -a 256 *-5.0.5.rc2.gem
dfcbee8aca863312a170b1075d9a740cfaf60c68d9a4351e23d2783dd63450a1  actioncable-5.0.5.rc2.gem
c2f6615b14485b4c7b5a9b37712087cd90af5fd3ad0fec470ff3c08660dcfce2  actionmailer-5.0.5.rc2.gem
650abc83a3e475169ae8c52b366bb73f358533b0611f53bec102ff3676a94855  actionpack-5.0.5.rc2.gem
fd83b598a5e1a76d379f373bd6788e238517f01a1589e99295f5fa67be9e24b0  actionview-5.0.5.rc2.gem
0ec63149a7f9d8316e37337a151700d34db07b6cf3b326548e54370db2a15779  activejob-5.0.5.rc2.gem
31a3248f20cd0c8c466e68c50bace354dad56033412d6404c2cfd27aad892bac  activemodel-5.0.5.rc2.gem
c558ce4d2011a5729d647cc83d19878745a4d1472a2b526f8ba1b54efd4eda98  activerecord-5.0.5.rc2.gem
73d8d516919c22d27f4d16a241cf7e41ddd152c23d2a6317a62e032ae064b36d  activesupport-5.0.5.rc2.gem
35792281ba2c7af605f2b17453856dd6ee64649d94545e8501ec91db111a6451  rails-5.0.5.rc2.gem
46111198cde865ba3512a828342fe35810671661fbc58b3f8ae5c749e1372239  railties-5.0.5.rc2.gem

Here are the checksums for 5.1.3.rc2:

$ shasum -a 256 *-5.1.3.rc2.gem
f2a510b5f274e7cdb9f18dbab316fe1fa703ba91af5e031fe807355633728b3b  actioncable-5.1.3.rc2.gem
303c71c3f8d792f07523fb7bb3afb366dd46293fdccfccaf8491f2db00dc93aa  actionmailer-5.1.3.rc2.gem
d86ac0ffd0dc12cde3ce332b8e4be53b16a8b7b3591c76c75657d114fa26a6fb  actionpack-5.1.3.rc2.gem
f6666a49474da4261c0bc00e9301e46075fe2c6453cf96033f5f3fa05397ceb5  actionview-5.1.3.rc2.gem
61d969886d73f1bf16a06c268dabdc890cc68c7c67c531743e81573e3f3acadd  activejob-5.1.3.rc2.gem
051f8d9fe6811bc8c3be0fc4630db8c740f5d57e3f3a605ca43e02a4790559f8  activemodel-5.1.3.rc2.gem
9e5671a03f0f6f7c3d1eea4c3320e2ae2c9e614add1d2c086e6ee3efcff56cda  activerecord-5.1.3.rc2.gem
7f953d0e72f934fc6c7b1a2dfd4f2e2c96910b3891c550a8fed682ee8c303722  activesupport-5.1.3.rc2.gem
d7ea7b6ee2ad1881f44bec83af5183dad6a52fed6ba7d25430bdab5f2394d067  rails-5.1.3.rc2.gem
2a95a264a470d65b6aa109ddbfcc451f6cd7c1235cbde9c458c19168773d432d  railties-5.1.3.rc2.gem

As always, huge thanks to the many contributors who helped with this release.

New releases, bugfixes and more!

Hello everyone! This is Greg with the latest news from the Rails world.

Rails 5.1.3.rc1 and 5.0.5.rc1 released

Two new release candidates has been released this week, if there are no regressions found, the final releases are coming next week!

This Week’s Rails contributors!

28 people helped to make Rails better this week. If you want to be one of them, checkout the issues list, help is always welcomed!

Add bootsnap to default Gemfile

The bootsnap gem helps to boot a Rails application faster, and the gem is now part of the Rails default Gemfile.

Allow to pass a connection to the dbconsole command

With this change the dbconsole command can except a connection parameter, so if you are using a 3 level database connection configuration you can specify the connection you want to use.

Fix where with a custom table name

With this week the select clause will use the custom table name if you have a table alias set up.

Scrub the invalid parameter value before using it in the error

When Rack::Utils::InvalidParameterError is raised the exception message now scrubs the parameter value to make it possible to use it in error messages.

Make rails yarn:install ignore dev dependencies

With this change rails yarn:install won’t install the development dependencies, so in deployment when the assets are precompiled they are ignored. bin/yarn still installs everything in your development environment.

That’s all for this week, as always, we couldn’t cover all of the changes, but feel free to check the commits if you are interested. Until next week!

Rails 5.1.3.rc1 and 5.0.5.rc1 released

Hi everyone,

I am happy to announce that Rails 5.1.3.rc1 and 5.0.5.rc1 have been released.

If no regressions are found, expect the final releases Monday, July 24, 2017. If you find one, please open an issue on GitHub and mention me (@kaspth) on it, so that we can fix it before the final release.

CHANGES since 5.1.2

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

If you’d like to verify that your gem is the same as the one I’ve uploaded, please use these SHA-256 hashes.

Here are the checksums for 5.1.3.rc1:

$ shasum -a 256 *-5.1.3.rc1.gem
3716fe810ac09651160af680e0622dba606eadc3532dc6100a09bc3dc46d8a79  actioncable-5.1.3.rc1.gem
9e734dcdb918f269bc027e31430648a58c205842b99c4990d19f33af41862027  actionmailer-5.1.3.rc1.gem
6f3739bea472a54a27b3982ea246028d4277580e2ff98c6343e07d95d54b29ad  actionpack-5.1.3.rc1.gem
482286af2d2146f6208e757fa29337dc73f9237c240bca753485992cf906bdb5  actionview-5.1.3.rc1.gem
2356ecbc1f1393a1577031894074d333fdc6d27e4ab9de796d2b97fff8676b8b  activejob-5.1.3.rc1.gem
f6ade74444578944fc3b8e376c4b050dda63bb7145abec4777dcb16867b42d30  activemodel-5.1.3.rc1.gem
72a886347747b61578a2aac1b34715042cb8f67fe43d8e53a2290220d08b8a3c  activerecord-5.1.3.rc1.gem
9220885a9d919430fa08cf72baf922000f7c36266d8f711498b7a6fb711eab2d  activesupport-5.1.3.rc1.gem
a06eded7f5e2bf1d6ecc69589062966bb701ccb8896d5aac5a6171ff38d037d4  rails-5.1.3.rc1.gem
727e65bc8c8fd359997bd1442c152f8628ddc318f68c9fba1ca603dda2db7766  railties-5.1.3.rc1.gem

CHANGES since 5.0.4

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

If you’d like to verify that your gem is the same as the one I’ve uploaded, please use these SHA-256 hashes.

Here are the checksums for 5.0.5.rc1:

$ shasum -a 256 *-5.0.5.rc1.gem
71ae996b0cbadc4836d8de61058870fe3d7ae275c5a3d345b851ca8b88e7c5a7  actioncable-5.0.5.rc1.gem
58fe87b9daf4dc1ddc89110e83846c0e0939fc97c8463e789785d28eddd34ee1  actionmailer-5.0.5.rc1.gem
123d468dcb3e523d1fb82367ebec2d630c6b625d1ad3d1b635bfc718c5d94624  actionpack-5.0.5.rc1.gem
117d39ee700e82903a3f0c3c242e986326acd08e7bab1059fd0afc6e58a2d19c  actionview-5.0.5.rc1.gem
99c51db0728e139a7833af9785323c967cbd474b3f9f1d20f5802628c33398f4  activejob-5.0.5.rc1.gem
9f81997461c252608451c61f5121754fb8aa36f30a1f9f6167a77826cae76be1  activemodel-5.0.5.rc1.gem
9cef200cd17925cd22055d6c5b2d2f22514f434f98983bcba0484e472f208211  activerecord-5.0.5.rc1.gem
ca8be3d1ee126f0e0b84cb9c932771cd718a524c60f2a63dccd32c33831aff74  activesupport-5.0.5.rc1.gem
0fd92b43895a1a73d639b93eec67159bed1003ce2a3f6250030b05091ae40046  rails-5.0.5.rc1.gem
3516bc7c5d3337fe5134ac0a7ec60337078817b569a56381a4f3fe737ef04546  railties-5.0.5.rc1.gem

As always, huge thanks to the many contributors who helped with this release.

This Week in Rails: Active Storage, telling secrets and time travelling!

Hello everyone! This is Roque bringing you the latest news from the Rails world.

It’s been two weeks, so let’s begin!

Active Storage is coming to Rails 5.2

A brand-new framework for managing user uploads is coming to Rails ecosystem. The TODO list is full of ideas, and it’s a great opportunity to send a PR and improve the library.

This Week’s Rails contributors!

We had 24 people who helped make the Rails better this week. Two of them contributed for the first time ever! If you would like to help out, check the issues list.

New

rails secrets:show will tell secrets!

The command will the decrypt encrypted secrets and display them in your console if you have the key file.

Protect from forgery by default

You no longer need to enable the CSRF protection when creating new apps. They will be more secure by default.

Add time helper method freeze_time

The new helper method will travel_to Time.now freezing time. You can call it with a block or not.

Fixed

Prevent invalid PostgreSQL UUIDs

The UUID validation was allowing mismatched curly braces. The fix requires both a leading and a trailing curly brace, or neither.

Fix long Action Cable channel names for PostgreSQL

Action Cable will hash channel names with SHA-1 if they reach the limit of 63 bytes.

Improved

Change SQLite 3 boolean serialization to use 1 and 0

This change in serialization requires a migration of stored boolean data to use 1 and 0 , instead of 't' and 'f'. You can use this change by enabling the configuration: ActiveRecord::ConnectionAdapters::SQLite3Adapter.represent_boolean_as_integer = true

That’s it for this week, as always, we couldn’t cover all of the changes, but feel free to check the commits if you are interested. Until next week!

Rails 5.1.2 has been released

Hi everyone,

I am happy to announce that Rails 5.1.2 has been released.

CHANGES since 5.1.1

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

If you’d like to verify that your gem is the same as the one I’ve uploaded, please use these SHA-256 hashes.

Here are the checksums for 5.1.2:

$ shasum -a 256 *-5.1.2.gem
27943a2642cd94478a88d4e239bb1467476d2acd10f0f588b220e05367163524  actioncable-5.1.2.gem
e62c4e1b09565e8188d405eac974db1cf31b552064fa9e15fac686556837909f  actionmailer-5.1.2.gem
b63833831efcfc5fce72deb5bfc14feb7bbe87dd065d8de5904db6dfbc115bca  actionpack-5.1.2.gem
82efdca96308476cb644d65bc9842167099ed1210ce3c8b626be9ebdcc8c311e  actionview-5.1.2.gem
d6f762971dfaa312d5f9262eb65eef1c16080cde4790e0e3fd29a0c9651659c4  activejob-5.1.2.gem
e5d8ae2826f733220dd29792bda5c57d7aa5f6bca036abc1a5fcd4632628f1ce  activemodel-5.1.2.gem
a3757003b09ac6926d18b32106927d341f906fdf71aa8fa2e3a8e8e0716548ce  activerecord-5.1.2.gem
0ecf4132689fc06c888c8a1d6678dc22ab972ff5abe797c4fc685582c9ce9d17  activesupport-5.1.2.gem
4ee8ea1a2760cafbd70fbc878fd0c4ad2fec105082719c818934b39fd4ff0e9b  rails-5.1.2.gem
db82fbd1dd000b9f5558bfa20c341ccf74ea43716f96e3839be5c219fffe78fc  railties-5.1.2.gem

As always, huge thanks to the many contributors who helped with this release.

Rails 4.2.9 has been released

Hi everyone,

I am happy to announce that Rails 4.2.9 has been released.

Following our maintenance policy, since the release of Rails 5.1.0, the 4.2 series will only receive new releases in case of severe security issues.

CHANGES since 4.2.8

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

If you’d like to verify that your gem is the same as the one I’ve uploaded, please use these SHA-256 hashes.

Here are the checksums for 4.2.9:

$ shasum -a 256 *-4.2.9.gem
bffbd5830a26af64d92548a831624a5422c77d97b2115c08b668fcbcc26f34ad  actionmailer-4.2.9.gem
8471fb1f9cc4962f3e000325821f1de0538a12cb580b0772ff9f89fbc8c1f9cd  actionpack-4.2.9.gem
d7fbbe069f74a6e7ce76cf91d0fede1593a0ed0db875f4630d8343551fb96f12  actionview-4.2.9.gem
a0086b19823d056efc1c8e7052d6684f54bebe7c9101ba69bd1a58c33d737451  activejob-4.2.9.gem
dbcd32a5e6294323b893565c0c334f6d89bb92d5085ce5e3d0454de0ed8eb5e3  activemodel-4.2.9.gem
0be77a1f77b2c8ae0e767c6fafb4c8fdda89c0be49ded0ae6f9644e81a4827a2  activerecord-4.2.9.gem
5717d2fe6409d4df72f0d20e46d7261503ccafc80ab228e91455d47185190ab4  activesupport-4.2.9.gem
eaaa4c1cafb3f9bd9f8dd58dd142522e398a5ad0d03abf2e3de364a63d4b7d1a  rails-4.2.9.gem
ad7b7765849a9aff0c42674f9512c39c098af63bb8476a4076a252fac3b4b2bc  railties-4.2.9.gem

As always, huge thanks to the many contributors who helped with this release.

This Week in Rails: 5.1.2.rc1 released and faster fixtures

Hi there! This is Kir from chilling Ottawa, bringing you another edition of This Week in Rails. Let’s dive in.

🎉 This Week’s Rails contributors! 🎉

We had 21 awesome people who helped make Rails better this week, with one first-time contributor! Would you like to help as well? Head over to the 👉 issues list.

New

🎉 Rails 4.2.9.rc2, 5.0.4 and 5.1.2rc1 have been released 🎉

It’s your chance to help us discover bugs in 4.2.9 and 5.1.2 release candidates. Also, Rails 4.2.9 will be the last release in 4.2 series, so it’s time to upgrade if your app is still running on Rails 4.

Perf

Use bulk INSERT to insert fixtures

Inserting fixtures in test environment became significantly faster by using one bulk INSERT query instead of many single INSERTs.

Fixed

current_page? helper now works from within a Rails Engine

Due a bug related to a trailing slash, current_page? helper always returned false while it was supposed to return true when it was called from a Rails Engine route.

Keep INNER JOIN when merging relations

Now you can safely merge two ActiveRecord relations both having a JOIN. Previously, that would to query with LEFT OUTER JOIN instead of INNER JOIN.

That’s it for this week, as always, we couldn’t cover all of the changes, but feel free to check all the commits from this week.

Until next week! 👋👋

Rails 5.1.2.rc1 has been released

Hi everyone,

I am happy to announce that Rails 5.1.2.rc1 has been released.

If no regressions are found, expect the final release on Monday, June 26, 2017. If you find one, please open an issue on GitHub and mention me (@rafaelfranca) on it, so that we can fix it before the final release.

CHANGES since 5.1.1

To view the changes for each gem, please read the changelogs on GitHub:

Full listing

To see the full list of changes, check out all the commits on GitHub.

SHA-256

If you’d like to verify that your gem is the same as the one I’ve uploaded, please use these SHA-256 hashes.

Here are the checksums for 5.1.2.rc1:

$ shasum -a 256 *-5.1.2.rc1.gem
ae90de7d8f5d1129a162e9419b65e08870a433ed4eb067bcd44be161de394773  actioncable-5.1.2.rc1.gem
bd7b3ac7dacb1a983bf2b5dcc56255261421285ef9b5cc5d645d416a1ba42378  actionmailer-5.1.2.rc1.gem
21b097d2ea1009eaad2487b4461f20a2c76d2ea9786e2fb37dd1e87116ca3621  actionpack-5.1.2.rc1.gem
689d6580dbef9c81e43fc77185a7916ef7ca2a3d863300f6e47d8199e4bdbd1c  actionview-5.1.2.rc1.gem
dfa1afc5d701241e25282c318738a8c379fdbd9cf682725f87e1c16584bf3be6  activejob-5.1.2.rc1.gem
040c3aaa4bf7686efa0e716dc4cf077d4d5b1ef598c81f7d32e86f1f8f26817a  activemodel-5.1.2.rc1.gem
8bc8b1677051975083717c65a3ee3df612b5e9d381db9d90dc71f3484f514a0b  activerecord-5.1.2.rc1.gem
69aab1c234f1223ceedb62168df071bdb3483a00be5e186278983eb1ed636e69  activesupport-5.1.2.rc1.gem
50a14c6e4952297f0a9a510b268ea845833474dccbe1619594c0406ceab5c7fa  rails-5.1.2.rc1.gem
7c18b3a185f73740b020ecf9414ea8d5c254edddefce64e7383bd137c7626d45  railties-5.1.2.rc1.gem

As always, huge thanks to the many contributors who helped with this release.