…failing test Mongoid does not have this method in the current beta version (2.0.0.beta.20).
…rat gem versions
…e not set if message is blank. Signed-off-by: José Valim <email@example.com>
…wncasing of keys as a before filter on database authentication module
When using a token longer than approximately 45 characters, the base64 encoded string passed in the HTTP_AUTHORIZATION header will contain newline characters. The existing implementation used a regex which didn't handle this case correctly.