This repository was archived by the owner on Dec 24, 2020. It is now read-only.

Description
hello, their is a comment in lib/less/more.rb that states:
By default, Less::More.parse will be called for each request in development environment and on application initialization in production environment.
However, this doesn't seem to be the case, and I didn't find any information that highlighted as such. Two suggestions for rails/init.rb
- don't hardcode development. Instead use ActionController::Base.perform_caching, which means we can change the behavior in our dev environment (like making sure everything comes together).
- make it an if/else statement, and if performing caching, call Less::More.generate_all, else load the action_controller_ext, which puts that on a before_filter hook.
what do you think?