rails style of mixins