Displaying 2 results from an estimated 2 matches for "register_javascript_include_default".
2006 Aug 06
0
Best practice: installing plugin assets in rake task or install.rb?
...ng (different) files are overwritten only after asking
and removed only when unchanged.
Also, I saw that several plugin READMEs tell the plugin user to include
JavaScript files in their views or layouts. This isn''t necessary as it
can be automated:
ActionView::Helpers::AssetTagHelper::register_javascript_include_default(''cool_plugin'')
After this, <%= javascript_include_tag :default %> will additionally
write out an include element for public/javascripts/cool_plugin.js
Michael
--
Michael Schuerig
mailto:michael@schuerig.de
http://www.schuerig.de/michael/
2006 Jul 28
12
MenuEngine
Hi all,
MenuEngine is a small Rails engine that can generate templated
drop-down DHTML menus commonly used for web site navigation. Supports
creation of menus from a YAML file, from code and from pre-configured
HTML. Optionally integrates with UserEngine for authorization.
http://www.muermann.org/ruby/menu_engine
Project page:
http://rubyforge.org/projects/menuengine
This is my first attempt