mongoid-enum
mongoid-enum copied to clipboard
Automatic Scopes Clobber Existing Methods
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 :smile: Thanks for spotting this one!