- Online Exam Test Papers | - MCQs[multiple choice questions and answers ] | - Mock Test Papers | - Practice Papers | - Sample Test Papers |

Question:
 In Rails, how would you cache a partial template that is rendered?

1.render partial: ‘shared/menu’, cached: true

2. render_with_cache partial: ‘shared/menu’

3.render partial: ‘shared/menu’

4. render partial: ‘shared/menu’, cached_with_variables: {}

Posted Date:-2022-09-17 03:45:47


More MCQS Questions and answers

Search