nesquena / rabl

General ruby templating with json, bson, xml, plist and msgpack support
http://blog.codepath.com/2011/06/27/building-a-platform-api-on-rails/
MIT License
3.64k stars 334 forks source link

Syntax error on Ruby 1.8 / Rails 2.3 #683

Closed XavierMeunier closed 7 years ago

XavierMeunier commented 8 years ago

I just installed rabl with rails 2.3.15 & ruby 1.8.7 but it seems there is a syntax error with read_multi.

rabl: 0.13.1 oj: 2.17.5

.../.rbenv/versions/1.8.7-p358/lib/ruby/gems/1.8/gems/rabl-0.13.1/lib/rabl/cache_engine.rb:33: syntax error, unexpected tIDENTIFIER, expecting tAMPER
        Rails.cache.read_multi(*keys, options)
                                             ^ (SyntaxError)
fotos commented 7 years ago

This seems to be a duplicate of #656.

XavierMeunier commented 7 years ago

Exactly, I would have preferred to find it sooner but thank you.