[Markaby] Any workaround for Rails caching?

Joe Ruby joeat303 at yahoo.com
Sat Oct 14 15:05:14 EDT 2006


> On Oct 14, 2006, at 10:57 AM, Joe Ruby wrote:
> > 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.
> 
> Do you mean page caching? I'm using page caching
with a markaby  
> project and it works fine.
> 
> Could you paste the error message you are getting?
> 
> Geoff

I mean fragment caching. I get errors like this:

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

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 


More information about the Camping-list mailing list