Inspection Issue with 96.552
In EAP 96.552, I define a class method:
def User.create(args)
puts "I AM IN THE NEW CREATE METHOD"
super(args)
end
The User class is an ActiveRecord model. The method works fine.
But in the editor, RubyMine highlights the 'super(arg)' line with a red error.
The error message says "Incorrect number of arguments"
Using 'Alt-Enter', you can turn off the faulty inspection error.
I'm using:
Ruby 1.8.7
Ubuntu 10.04
Rails 2.3.8
EAP 96.552
Please sign in to leave a comment.
Please submit an issue at http://youtrack.jetbrains.net/issues/RUBY
Best regards,
Oleg
Issue: http://youtrack.jetbrains.net/issue/RUBY-6425