antillas21/ajax-datatables-rails — pull request #26 by LaurensN (2014-07-22 07:53:44+00:00)
Title: Added ability to use modules in searchable method

This PR gives you the ability to reference Models from Rails Engines / Modules.

For example:

def searchable_columns
# list columns inside the Array in string dot notation.
# Example: 'users.email'
@searchable_columns ||= [
"module_or_engine_name/model_name.column_name",
]
end

The sortable method seems to work fine using the normal notation (module_or_engine_name_model_name.column_name)