houston/houston-core

View on GitHub
templates/new-module/lib/houston/%name%/railtie.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Houston
  module <%= camelized %>
    class Railtie < ::Rails::Railtie

      # The block you pass to this method will run for every request
      # in development mode, but only once in production.
      # config.to_prepare do
      #
      #   Add methods or relationships to a core model (like User)
      #   by including a module that adds the concern here:
      #   ::User.send :include, Houston::<%= camelized %>::UserExt
      # end

    end
  end
end