Jeremy Smith
Jeremy Smith

Reputation: 15069

Is there a way to bypass the ruby redis wrapper and direct a command to redis?

I want to use the incrbyfloat command that exists in the unstable version of redis, but the redis-rb wrapper doesn't include a method call for this. Is there a way to make a call directly to redis within redis-rb (I can't find a way to do this), or should I just fork redis-rb and add that method myself?

Upvotes: 1

Views: 150

Answers (1)

Jeremy Smith
Jeremy Smith

Reputation: 15069

Just discovered that redis-rb has a method_missing method which will pass unknown redis commands... doh!

Upvotes: 1

Related Questions