Lots of warnings

Hello

I am trying using Rubymine 1.5 EAP (1421).
It's my first time, and I am a little lost with it.

I see lots of warnings in all the models, like these:

"unable to find associated Rails Model for :whatever association field"
"DB field ':whatever_field' of undefined table for class 'X' or unable to find Rails Model for association with name  :whatever _field  "

This was not happening at the begining when I open the project for first time, it begins after I click a link for attaching some gems.

Thanks

3 comments
Comment actions Permalink

Well.
I suspect this has something to do with the spanish inflections I use.
I can solve some of the warnings setting the name of the table in the model, or specifying a class name in an association.
It seems the Rubymine is not using the inflections correctly when analyzing the code.

0
Comment actions Permalink

This may happen if you use inflections.rb file in config/initializers. There is a bug for this: RUBY-3160. Feel free to vote for it and track it's progress

0
Comment actions Permalink

Thank you very much. I will do it

0

Please sign in to leave a comment.