Module: AuxiliaryAddons
- Defined in:
- lib/auxiliary_addons.rb,
lib/auxiliary_addons/html_helper.rb,
lib/auxiliary_addons/list_helper.rb,
lib/auxiliary_addons/ruby_addons.rb,
lib/auxiliary_addons/jscript_helper.rb
Overview
Defined Under Namespace
Modules: HtmlHelper, JscriptHelper, ListHelper, RubyAddons
Constant Summary collapse
- @@options =
default options that can be overridden on the global level
{ :use_prototype => false, # :use_jquery => true, # :use_jquery_no_conflict => false, # }
Class Method Summary collapse
Class Method Details
.enable_actionpack ⇒ Object
32 33 34 35 36 37 38 39 |
# File 'lib/auxiliary_addons.rb', line 32 def self.enable_actionpack ActionController::Base.send :include, AuxiliaryAddons::RubyAddons ActionView::Base.send :include, AuxiliaryAddons::RubyAddons ActionView::Base.send :include, AuxiliaryAddons::HtmlHelper ActionView::Base.send :include, AuxiliaryAddons::JscriptHelper ActionView::Base.send :include, AuxiliaryAddons::ListHelper end |
.enable_activerecord ⇒ Object
28 29 30 |
# File 'lib/auxiliary_addons.rb', line 28 def self.enable_activerecord ActiveRecord::Base.send :include, AuxiliaryAddons::RubyAddons end |