rails/rails — pull request #12494 by tjschuck (2013-10-10 17:23:50+00:00)
Title: Use bcrypt's public cost attr, not internal constant

Backport to 4-0-stable, requested by @jeremy on https://github.com/rails/rails/pull/12339