Home What to use: Class or Module, in ROR
Reply: 0

What to use: Class or Module, in ROR

user433
1#
user433 Published in June 23, 2018, 11:30 pm

I am new to ROR and trying to convert my PhP application to ROR application. There is one php file common.php which is included in almost all other files. Likewise common.php in turn uses RPCClient.php and User.php . Variables and methods are shared across php files. So, what should I use in ROR a class or a module as data is shared among various files.

Any kind of help is much appreciated, Warm Regards.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.314774 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO