rails/rails — pull request #9895 by robertomiranda (2013-03-24 02:35:56+00:00)
Title: Change default SecurePassword column name

Currently the ActiveModel::SecurePassword module force to create a requires you to have a password_digest attribute. This patch provide the option to switch the attribute name

```ruby
class Visitor
extend ActiveModel::Callbacks
include ActiveModel::Validations
include ActiveModel::SecurePassword

define_model_callbacks :create

has_secure_password(validations: false, column_name: :password)

attr_accessor :password, :password_confirmation
end
```