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

neo4j - finding mutual friends in a cypher statement starting with three or more persons -

php - How to remove letter in front of the word laravel -

minify - Minimizing css files -