What’s Mining: Rails 5 Support
When we published the post about Ruby timeline and history, we asked all of you about the Ruby and Rails future. And the future seems to have already arrived with Rails 5 RC being around the corner. We have been focusing on Rails 5 support since the first beta was released at the end of December. Today we want to share what has been done and welcome you to try Rails 5 with the latest RubyMine 8.5 EAP build 145.184.
Let’s start with the big new thing, a framework for handling WebSockets called Action Cable. Though the work on the feature is still in process, we have already added the main support, which we want to describe in more detail.
If you use Rails only as a backend in your app, you might be glad that rails-api gem is now included into Rails 5. So, RubyMine now has a special option when creating a new application:
Please note that you can only choose Rails 5+ from the list. The Rails API application does not have views, so RubyMine will not show any view-related actions and icons.
Rails 5 brings a bunch of changes for ActiveRecord, and RubyMine adds code insight for all the new methods:
Rake commands are now united with Rails commands, so bin/rails is a single master command in Rails 5. But since we feel our users got used to our Tools | Run Rake Task…, and rake commands are still available from there, we have not changed anything yet. We will be glad if you share your thoughts in this issue.
We have some time before the final release, so please help us to make Rails 5 support as good as it could be. Share your ideas and concerns here in the comments or add them to the corresponding issue.
You are more than welcome to try all the new features of the upcoming release by downloading the latest EAP build.
The RubyMine Team
Subscribe to Blog updates
Thanks, we've got you!
The RubyMine 2023.3 Early Access Program Is Open!
Hello everyone, The third RubyMine Early Access Program of 2023 is underway! The key change in the first EAP build is an important indexing optimization. By refactoring our code base, we’ve doubled RubyMine’s indexing speed compared to v2023.1. This is particularly noticeable when working wi…
Performance Improvements in RubyMine 2023.1
Hello everybody, The new release is fast approaching, so it’s time to unveil the performance enhancements you can expect from RubyMine 2023.1. Faster code completion When developing and supporting RubyMine, we analyze a great load of anonymized usage data. A lot of recent data pointed to the fact t…
RubyMine 2023.1 EAP5 Is Out!
Hello everyone, RubyMine 2023.1 EAP5 is now available! Below you can find the most notable features in this build. We encourage you to try them out and share your feedback in the comments or in our issue tracker. Migration of Ruby code to the Symbol API In order to improve code insight actions such…
The RubyMine 2023.1 EAP2 Is Out!
The RubyMine 2023.1 Early Access Program recently started and EAP2 is already here! You can get the new build from our website or via the free Toolbox App. In this post, we’ll highlight some of the most important updates included in the new EAP version. Rails 7: support for turbo-rails complet…