Skip to content

Ruby 2.2.0 + bcrypt + ActiveRecord + YAML → BCrypt::Errors::InvalidSalt #106

@be9

Description

@be9

There's a problem with dumping AR records using bcrypt under Ruby 2.2.0. I isolated the problem here: https://gist.github.com/be9/c549ff6469d5627aa900

The script shows how to run the thing and what happens. Everything works perfectly under Ruby 2.1.5, but under Ruby 2.2.0 exception gets raised.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions