adelevie/parse-ruby-client — Issue #4: User::authenticate doesn't work
Author: adelevie
Created: 2012-02-25 19:03:15+00:00
State: open

For some reason, the password isn't getting sent to Parse when authenticating users. Here's Parse's [doc](http://parse.com/docs/rest#users-login) on the method. This one's really baffling.

The relevant files are `lib/parse/user.rb`, `lib/parse/protocol.rb` (where some of the constants are defined), `lib/parse/object.rb` (since `Parse::User` inherits from `Parse::Object`), and probably `lib/parse/client.rb`.

```
$ rake test
WARNING: 'require 'rake/rdoctask'' is deprecated. Please use 'require 'rdoc/task' (in RDoc 2.4.2+)' instead.
at /Users/adelevie/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
/Users/adelevie/.rvm/rubies/ruby-1.9.2-p290/bin/ruby -I"lib:lib:test" -I"/Users/adelevie/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib" "/Users/adelevie/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_test_loader.rb" "test/**/test_*.rb"
Loaded suite /Users/adelevie/.rvm/gems/ruby-1.9.2-p290/gems/rake-0.9.2.2/lib/rake/rake_test_loader
Started
............E.
Finished in 1.717421 seconds.

1) Error:
test_login(TestUser):
Parse::ParseError: 201: missing user password
/Users/adelevie/programming/parse-ruby-client/lib/parse/client.rb:47:in `request'
/Users/adelevie/programming/parse-ruby-client/lib/parse/user.rb:14:in `authenticate'
/Users/adelevie/programming/parse-ruby-client/test/test_user.rb:33:in `test_login'

14 tests, 29 assertions, 0 failures, 1 errors, 0 skips
```