-
Notifications
You must be signed in to change notification settings - Fork 5
2. JavaScript Includes
MadRabbit edited this page Sep 13, 2010
·
3 revisions
By default RightRails will automatically handle all the necessary module includes, all you need is to write the standard command like that
<%= javascript_include_tag :defaults %>It will take care of everything automatically.
RightRails will automatically check the I18n.locale variable and if available will try to include related language pack
RightRails rightjs_scripts method will automatically switch to the raw, non-build versions of the JavaScript libraries in the development environment and use the compacted versions in production