Ruby On Rails Interview Questions and Answers
Ques. IS IT POSSIBLE TO EMBED PARTIAL VIEWS INSIDE LAYOUTS? HOW?Ans. That is the purpose of layouts. You embed partial views inside the file /app/views/layout/application.html.erb and then whenever you render any page this layout is merged with it. |
Is it helpful?
Yes
No
Most helpful rated by users: