Explain rails caching levels.
Answer / Ankush Soni
"Rails has multiple caching layers, including fragment caching, page caching, and action caching. Fragment caching stores specific parts of a view, while page caching stores the entire rendered page. Action caching stores the entire controller action response. You can enable these cache levels in your controllers by using the corresponding cache methods like 'cache_page', 'cache_action', and 'cache' to store fragments."
| Is This Answer Correct ? | 0 Yes | 0 No |
Explain about restful architecture?
what are the differences between rails 2.x and rails 3?
Explain coc in rails?
What role does garbage collection play?
Explain me what is the purpose of rjs in rails?
What is a webrick web server?
Where does the start_tabnav gets informations for tabs rendering in ruby rail?
Mention all the naming conventions in ruby on rails.
If you want to set up a one-to-one relationship between two models, you'll need to add belongs_to to one, and has_one to the other. How do you know which is which?
Difference between gem and plugin?
What is object-relationship-model (orm)?
what is a rails migration? Write up a short example of a simple rails migration with a table called customers, a string column called name, and a text column called description?