Finding the usages of scope?

In a certain model Post, I have the following:

  scope :mine, lambda {|user_id| where ("user_id = ?", user_id)}


which is intended to return me the posts of a certain user. When I highlight :mine and try to find out its usages, RM comes up with nothing even though I know that this scope is used at several places.

Bug or feature?

Regards,
Kedar

1 comment

Please sign in to leave a comment.