Module: Mongoid::DataTable

Defined in:
lib/mongoid/data_table/base.rb,
lib/mongoid/data_table/version.rb

Defined Under Namespace

Modules: ClassMethods

Constant Summary collapse

VERSION =
"0.1.4"

Class Method Summary collapse

Class Method Details

.included(base) ⇒ Object



4
5
6
7
# File 'lib/mongoid/data_table/base.rb', line 4

def self.included base
  base.send :extend, ClassMethods
  base.send :extend, ActionView::Helpers::JavaScriptHelper
end