Tuesday, March 21, 2023
HomeRuby On RailsRuby on Rails — Column info in ERB template exceptions, migration possibility...

Ruby on Rails — Column info in ERB template exceptions, migration possibility validation and extra!


Friday, October 14, 2022

Column info in ERB template exceptions, migration possibility validation and extra!

Posted by gregmolnar

Hey, that is Greg bringing you the newest information from the Rails world.

Add column info to exceptions inside ERB templates
This PR provides column info to exceptions that occured inside ERB templates. There are earlier than and after screenshots of the Rails error web page, and a fantastic clarification of the change within the PR description.

Validate choices when managing columns and tables in migration
With this variation, when an invalid possibility is handed to a migration technique(create_table as an illustration), an error will probably be raised. The choices validation is just utilized to newly created migrations, to make it backward appropriate.

Replace documentation of Vary#to_s
Rails 7 deprecated passing a format choice to to_s, and added to_fs as a alternative, and the documentation has additionally been up to date now.

Add Rails.utility.deprecators
With this variation, deprecators added by gem maintainers could be configured for the entire utility. So when the consumer units Rails.utility.deprecators.habits = :elevate, this habits will probably be utilized to all deprecators

 
Turbo 7.2.2 launch
A brand new minor model of Turbo has been launched this week.

18 individuals contributed to Rails this week! In order for you the be a part of that, checkout the checklist of open points!
Till subsequent week!

Subscribe to get these updates mailed to you.



RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments