Prerequisites
Note
Rails framework should be downloaded and installed
on your computer.
Important notes
Note
Rails support
Rails support in RubyMine includes:
- Dedicated project type, where the desired Rails version is defined.
- Special Rails view to represent the logical structure of a Rails application.
- Rails generators.
- Means of navigation between Rails components.
- Possibility to run Rake tasks.
- Possibility to define object-relational mappings.
- 1.1+Analysis of the models and their relationships with Model Dependency diagram.
- Complete editing assistance (syntax and error highlighting, code completion for Rails application elements and Rake tasks)
- Rails-aware refactorings (Rename Refactorings, Extract Partial, etc.).
- Rails console, where you can execute Rails commands without leaving the IDE.
- Sprockets
are supported.
Rails-specific procedures
- Creating Rails Application and Rails Mountable Engine Projects
- Creating Rails Application Elements
- Creating Actions
- Creating Views from Actions
- Injecting Ruby Code in View
- Running Rails Scripts
- Generating Archives
- Running Rails Server
- Working with Models in Rails Applications
- RubyMine-Specific Navigation
- Working with Rails Mountable Engine Projects
