Monday, June 14, 2010

ArgumentError in Schools/school post variablesController#create

Error: wrong number of arguments (3 for 2)

Description: My create method only accepts 2 arguments. First, an auth_token. Second, a hash.

Fix: Send only two arguments, the auth_token and the hash.

JSON::ParserError in Schools/school post variablesController#create

ERROR: Memcached::ABadKeyWasProvidedOrCharactersOutOfRange at
/authorize

This means that there is a bad character in my memcache key,
or that I am not even sending a key.
In my case I have authorization token that are the memcache keys

FIX: Correct the bad character in the key or send the key.