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
RubyMine 2024.1 Early Access Program is Open!
The RubyMine 2024.1 Early Access Program has now started! In this blog post, we’ll share our plans for the upcoming release and the areas we’re currently focusing on. The first EAP build includes performance and usability improvements, bug fixes, and updates to RBS language support.Now, you c…
RubyMine 2023.3 EAP Update
Hello everyone! We’re back with an update on the state of the 2023.3 Early Access Program. You can download the latest EAP build from our website, via the free Toolbox App, or by using snaps for Ubuntu. Here are the biggest highlights of this release: Performance improvements As we me…
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…
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…