Raju,
Check out
http://api.rubyonrails.org/classes/ActionController/Caching.html
http://api.rubyonrails.org/classes/ActionController/Caching/Pages.html
http://api.rubyonrails.org/classes/ActionController/Caching/Fragments.html
/Lasse
2010/3/27 Rajkumar Surabhi <lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>
> HI all,
>
> in my application i have index action. i called cache for this index by
> using
>
> cache_page :index
> and in index.erb page i called another partila page using and cached
> the fragment using
>
> <%cache "1" do%>
> <%@someobjects=Tablename.find(:all)%>
>
<%=render(:partial=>''index2'',:collection=>@someobjects%>
> <%end%>
>
> i want to expire the page and fragment caching how to do this.
> please its very urgent
>
>
> Regards,
> Raju
> --
> 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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
> To unsubscribe from this group, send email to
>
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org<rubyonrails-talk%2Bunsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
> .
> For more options, visit this group at
> http://groups.google.com/group/rubyonrails-talk?hl=en.
>
>
--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en.