Displaying 2 results from an estimated 2 matches for "weppos".
Did you mean:
reppos
2010 Aug 03
0
how to create local subroutines properly in rails?
hi guys,
Using breadcrumbs on rails (http://github.com/weppos/
breadcrumbs_on_rails), I have added a method, "set_breadcrumb" in my
application controller.
That will set up my home breadcrumb.
In my other feedbacks controller, I have the same "set_breadcrumb"
method (in a before_filter). The breadcrumb added here is called
"feedba...
2008 Sep 15
0
Caching RJS fragments
Do you have any hint for using fragment caching within a RJS response?
I''ve the following piece of code in a rjs template
for hotel in @hotels
cache(:id => hotel.id, :format => params[:format]) do
page.insert_html(:bottom, :items, :partial => hotel, :locals =>
{ :city => @city, :country => @country })
end
end
but when the response is rendered it returns the