http://youtrack.jetbrains.com/issue/RUBY-12466 suggests that you set the SDK to ruby 1.9 to get this working.
rubymine complaining about rails controller scaffold syntax
-
13-04-2022 - |
Pregunta
I'm scaffolding with rails, and the following code is being generated
format.json { render json: @leg, status: :created, location: @leg }
But RubyMine is complaining unless I switch it to
format.json { render :json => @leg, :status => :created, :location => @leg }
Can anyone elaborate?
Solución
Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow