Explain the role of sub directory app/controllers and app/helpers.

devquora
devquora

Posted On: Feb 22, 2018

 

  • App/controllers: in this, a web request is made by the user which is handled by the controller. Rails make use of this controller sub directory for finding the controller class.
  • App/helpers: some helper classes are present in the helper sub directory which is used for assisting the view, model and the controller classes present in it.

    Related Questions

    Please Login or Register to leave a response.

    Related Questions

    Ruby on Rails Interview Questions

    Mention all the naming conventions in ruby on rails.

    Following is a list of some naming conventions used in ruby on rails:Variables– it is used for the declaration of v..

    Ruby on Rails Interview Questions

    Explain the features of ruby on rails.

    Some of the features of ruby on rails are listed below-Meta-programming: code generation is used but for heavy liftin..

    Ruby on Rails Interview Questions

    How is the model view controller framework used in ruby on rails?

    The web development is usually divided into three subsystems closely integrated to each other. They are: –Model (ac..