Modularity in Ruby on Rails

Hey guys. Please help

http://stackoverflow.com/questions/39696338/how-to-develop-modular-app-in-ruby-on-rails