Rails.root.to_path is flagged as unresolved?

My Rails console helps me with Rails.root.to<Tab> and identifies to_path, since Rails.root is an instance of the class "Pathname".
But RM does not like it and it gets a wavy underline => unresolved symbol.

Why can't it infer Rails.root?

-Kedar

2 comments
Comment actions Permalink

What RubyMine version is used?

0
Comment actions Permalink

Sorry Oleg, it's RM 3.1.

0

Please sign in to leave a comment.