Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Namespace conflict with model methods #112
user.send :recommended_for, Place
... which is a bit clunky. To avoid this, and other potential namespace collisions for existing model methods, I suggest supporting an optional
Would be easy to implement -- we'd just need to add an optional check in the method regexes for the namespace. Existing finder methods would still work -- you'd only need to prepend recommendable_ if you had a namespace issue.
@davidcelis There's also the issue that if a ratable class is within a module, e.g.