Rails.root.to_path is flagged as unresolved? Follow
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
Please sign in to leave a comment.
What RubyMine version is used?
Sorry Oleg, it's RM 3.1.