Sha256: 8d6d97ad2c541a2c3d3db55e39ed4a88dad1e327fb804fc44d8ecf5fbce25891

Contents?: true

Size: 468 Bytes

Versions: 6

Compression:

Stored size: 468 Bytes

Contents

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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
houston-core-0.9.2 templates/new-module/lib/houston/%name%/railtie.rb
houston-core-0.9.1 templates/new-module/lib/houston/%name%/railtie.rb
houston-core-0.9.0 templates/new-module/lib/houston/%name%/railtie.rb
houston-core-0.9.0.rc1 templates/new-module/lib/houston/%name%/railtie.rb
houston-core-0.8.4 templates/new-module/lib/houston/%name%/railtie.rb
houston-core-0.8.3 templates/new-module/lib/houston/%name%/railtie.rb