Repository is archived
No commit activity in last 3 years
No release in over 3 years
Generate rails helper methods for accessing named routes on demand
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

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.