I'm new to Ruby on Rails, and when I came from the Java world and worked in IntelliJ Idea, I stared at using RubyMine to develop RoR.
I created a new project and opened it in RubyMine. Everything compiles and works fine, but RubyMine highlights some lines as errors (but actually there are no errors).
For example, the code from application_controller.rb
protect_from_forgery with: :exception
The semicolon after 'with' is highlighted as an error, and hind says: "Expected :; or end of line
Similar errors associated with errors in many places in the project
I think there may be some problems with different versions of Ruby and Rails? Or do RubyMine not support some new syntax?
ruby 2.0.0p247 (printable version 2013-06-27 41674) [universal.x86_64-darwin13]
Rails 4.0.1
source share