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
Post a Comment