Talks
Speakers
Events
Topics
Sign in
Home
Talks
Speakers
Events
Topics
Leaderboard
Use
Analytics
Sign in
Suggest modification to this talk
Title
Description
RailsConf 2017: Rails 5.1: awesome features and breaking changes by Claudio B Each minor release of Rails brings shiny new features and mild headaches for developers required to upgrade their applications and gems. Rails 5.1 will support Yarn and modern Javascript transpilers, remove jQuery from the default stack, integrate system testing and a concurrent test runner, introduce a new helper to create forms, provide encrypted secrets and more. In this talk, I will cover the improvements brought by Rails 5.1, explain the Core team’s motivations behind each feature, and illustrate the upgrade process to smoothly transition gems and apps from Rails 5.0 to Rails 5.1.
Date
Summarized using AI?
If this talk's summary was generated by AI, please check this box. A "Summarized using AI" badge will be displayed in the summary tab to indicate that the summary was generated using AI.
Show "Summarized using AI" badge on summary page
Summary
Markdown supported
In this presentation at RailsConf 2017, Claudio B discusses the new features and breaking changes introduced in Rails 5.1. He explains the evolution of Rails, highlighting how minor releases balance between introducing exciting features and requiring developers to adapt their applications. Key Points Discussed: - **Breaking Changes**: Claudio addresses several breaking changes that developers may encounter when upgrading from Rails 5.0 to 5.1, such as: - Change in the underlying engine for reading EOB files, which may affect certain gems. - Changes in conditions for callbacks, which shift from string usage to proc or symbol-based conditions. - Modifications in routing syntax, eliminating wildcard routes for improved security. - **New Features**: - Support for using big integers as primary keys in databases and adding virtual columns in MySQL. - Improvements to Active Support, including better Unicode compliance for handling emojis and the introduction of new date methods. - A new `delegate_missing_to` method that simplifies method delegation between classes. - Changes in Action View with the introduction of new HTML tag helpers that simplify creating tags. - A new form helper that consolidates previous form creation methods, making it easier for developers to implement forms. - With Rails 5.1, jQuery is no longer a default dependency, instead, native JavaScript is leveraged for unobtrusive scripting. - Integration of Yarn and Webpack to streamline JavaScript asset management in Rails applications. - Enhanced Action Pack functionalities, including built-in Capybara support, simplifying the setup for system tests. - **Secret Management**: The introduction of encrypted secrets to store sensitive data securely without exposing it in plaintext files, making deployment easier and more secure. Claudio invites developers to explore the open-source nature of Rails and participate in its community, emphasizing the importance of staying informed about version changes to enhance their applications effectively. He concludes by encouraging upgrades to Rails 5.1 and thanking all contributors to the framework. This talk is particularly relevant for developers looking to improve their applications by leveraging the latest improvements in Rails 5.1.
Suggest modifications
Cancel