Controller finds wrong model (Rubymine 3.2.2)

Hello Community

In a rails project, I have a model named 'Jobs' with associated tests, migrations scripts and a controller. The tests all pass I can create models through the Rails console and through the controller actions.  But when I am in the source code for the controller and try to browse to the definiation of the Job it will take me to the definition for 'Job' within benchmark.rb, which is in the ruby library.  

Have I missed a configuration setting somewhere or is this a bug within Rubymine?  The controller works as expected and creates the record in the database, it just finds the wrong model at design time.

RubyMine Version: 3.2.2 (build 107.446)
OS: Mac OS X (10.6.8)

Thanks in advance.

2 comments
Comment actions Permalink

Hello Rob,

It looks like a bug, could you please create an issue at http://youtrack.jetbrains.net/issues/RUBY with detailed description of your environment and maybe sample project to reproduce?

Regards,
Oleg

0
Comment actions Permalink

Certainly will Oleg, thanks for you reply.

0

Please sign in to leave a comment.