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
请先登录再写评论。
What RubyMine version is used?
Sorry Oleg, it's RM 3.1.