do we need all of rails for this?  maybe including only the pieces that are necessary for this mixin would be a good way of outlining what it's using