thetron/mongoid-enum

Automatic Scopes Clobber Existing Methods

jscheel opened this issue · 1 comments

If you have an enum that is the name of an existing method, the method is clobbered. Example an enum of :all is quite destructive ;)

@jscheel Whoops! Hah! I hadn't even considered that 😄 Thanks for spotting this one!