Hi,
This may be a silly question to ask. But as performance issues start
popping up I had no other go other than searching for a solution.
I've application.html.erb where i've defined the layout of my whole
project, where i've so many db calls and everything which is a one time
call that must happen for the whole layout.
In the main area i've

                   <%= yield %>

I want only this part to be refreshed/changed whenever i go back and
forth of the pages, but the problem is, the whole page is getting
refreshed everytime which is consuming hell a lot of time as i'm doing
so many db calls for the common layout.

How to achieve my requirement and improve the performance?
And if someother tips are there the improve the performance in ruby on
rails
Thanks in advance :)
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to