Ruby Developer Question:
Download Job Interview Questions and Answers PDF
Tell me what is the role of sub-directory app/controllers and app/helpers?
Answer:
☛ App/controllers: A web request from the user is handled by the Controller. The controller sub-directory is where Rails looks to find controller classes
☛ App/helpers: The helper’s sub-directory holds any helper classes used to assist the view, model and controller classes.
☛ App/helpers: The helper’s sub-directory holds any helper classes used to assist the view, model and controller classes.
Download Ruby Developer Interview Questions And Answers
PDF
Previous Question | Next Question |
Tell me what is Ruby on Rails? | Tell me what is the command to create a migration? |