Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


what is the role of sub-directory app/controllers and app/helpers?



what is the role of sub-directory app/controllers and app/helpers?..

Answer / Shipra Mehrotra

In a typical Ruby on Rails application, app/controllers stores all controller classes that handle user requests. Each controller handles requests for a specific part of the application. app/helpers contains modules that provide helper methods to be used in views.nThese helper methods can simplify the code in the view by providing reusable functions.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More Ruby Interview Questions

what is the syntax for Ruby collect Iterator?

1 Answers  


Explain about methods?

1 Answers  


What is the difference between nil and false in ruby?

1 Answers  


Does hash use “ #==” or “#eql?” To compare hash keys?

1 Answers  


Explain each of the following operators and how and when they should be used: ==, ===, eql?, Equal?

1 Answers  


How to open a file in Ruby?

1 Answers  


Explain Ruby exceptions?

1 Answers  


Tell me how can you declare a block in ruby?

1 Answers  


What is the use of global variable $ in Ruby?

1 Answers  


How would you freeze an object in ruby?

1 Answers  


How to use ruby methods.

1 Answers  


Explain some differences between ruby and python.

1 Answers  


Categories