Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
== LoadOrRequire What's the proper way to load a file in rails? require => wrong load => wrong autoload => who knows It all depends on your environment settings. Some env's have cache_classes = true (e.g., production, which uses require), others have cache_classes = false (e.g. development, for auto-reloading). == Usage load_or_require "my_file" == Author Scott Taylor <firstname.lastname@example.org> Development sponsored by EastMedia (http://eastmedia.com/) == License Dual licensed under the MIT and GPL3 licenses