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

0
2 comments
Avatar
Permanently deleted user

What RubyMine version is used?

0

Sorry Oleg, it's RM 3.1.

0

Please sign in to leave a comment.