Pajk/rails-restapi — pull request #32 by iNecas (2012-07-13 10:31:07+00:00)
Title: Fix client compatibility issues with Ruby 1.9

There is a difference in assignment descructuring in 1.8 and 1.9:

# in 1.8.7
a = *[1]; a # => 1
# in 1.9.3
a = *[1]; a # => [1]

Using

a, *_ = [1]; a # => 1

works the same for both versions.