search for: index_item

Displaying 2 results from an estimated 2 matches for "index_item".

Did you mean: index_items
2006 Oct 14
3
[Markaby] Any workaround for Rails caching?
The ability to use Rails'' caching is very important to me. Is there any way at all to get Rails caching working with Markaby templates? Right now if I use cache tags, I get some "length" error. Thanks, Joe __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com
2006 Nov 05
0
Any workaround for Rails caching?
...; > > ActionView::TemplateError > > (/usr/lib/ruby/gems/1.8/gems/markaby-0.5/lib/markaby/builder.rb:192:in > > `method_missing'': no such method `length'') on line #0 > > of app/views/items/index.mab: > > 1: > > 2: cache("#{@site.server_name}/index_items") do > > > > > > Joe > > Yep, the length error is because a lot of Rails'' internals still > assume ERB, which uses a different buffer structure to Markaby. I''ll > try to get it working soon. > > Cheers, > Tim Do you have any ideas ho...