cannot find 'before_save'

In the class that inherited from ActiveRecord::Base, RubyMine cannot find 'before_save' (spellchecker). I've discovered the ActiveRecord source and, indeed, there's no definition for 'before_save' method. Im working under Rails 3.0 and wondering where is problem: is it in RubyMine or it's because of newest framework Rails 3.0? Any thoughts?

4 comments

What exactly error message do you get?

Regards,
Oleg

0

To Oleg Shpynov:
The message is "This inspection warns about references in Ruby code wich can't be resolved to any valid  target"
To Roman.Chernyatchik:
Im using 2.0.1 version

0

Andrey,

2.0.x versions doesn't support Rails 3.0 framework. Please try our RubyMine 2.5 EAP builds - http://confluence.jetbrains.net/display/RUBYDEV/RubyMine+EAP

0

Please sign in to leave a comment.