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?
请先登录再写评论。
What exactly error message do you get?
Regards,
Oleg
Which RubyMine version do you use?
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
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