Add a dependency on rails
Switch to use concerns and switch from extend to include for mixin