Ruby is already using the class name of my model

Posted by Octopus Inc on Stack Overflow See other posts from Stack Overflow or by Octopus Inc
Published on 2010-04-22T20:45:46Z Indexed on 2010/04/22 21:03 UTC
Read the original article Hit count: 273

I'm making a forum application with various levels of authorization, one of which is a Monitor. I am doing this by extending my User class, and I plan on fine tuning this with "-ship" classes (e.g. administratorship, authorship, moderatorship, etc.). Apparently the Monitor class is part of ruby mixin. How do I keep my resource name without the collisions?

© Stack Overflow or respective owner

Related posts about ruby-on-rails

Related posts about class