Skip to content
Generate helpers for Rails routes when they're first used
Ruby
Find file
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/lazy_named_routes_helpers
.gitignore
Gemfile
LICENCSE
README.rdoc
Rakefile
lazy_named_routes_helpers.gemspec

README.rdoc

Lazy Routing Helper Generation for Named Routes

A plugin for Rails 3.x which defers generation of routing helpers for named routes, such as …_path and …_url, to when they're first accessed.

This can reduce the initial footprint of your Rails application, especially for ruby 1.8.7, and and will speed up starting a rails console.

Author

Stefan Kaes <skaes@railexpress.de>

Usage

Require the railtie somewhere in application.rb

require "lazy_named_routes_helpers/railtie"

Installation

gem install lazy_named_routes_helpers

or let bundler manage it.

Something went wrong with that request. Please try again.