ruby - Rails call a class from a module -


i have rails 3.2 application use differents gem have created. have folder people , folder magazine, in people have file

module essa::person  class carsdatatable < ajaxdatatablesrails::base 

i want call carsdatatable in external module. how syntax initialize carsdatatable in controller of folder magazione.

for example try

carsdatatable.new  or   essa::person::carsdatatable  have error 


Comments

Popular posts from this blog

php - Embed BBCode within itself not working -

minify - Minimizing css files -

Connecting Spring Batch to Remote Cassandra Database -