Added ActiveRecord::Base#has_secure_key (via ActiveRecord::Securekey)

This is how the API will look like.

- [X] Done Implementation. 
- [ ] Documentation's work is in progress

fixes #16879 
cc @dhh 
I don’t think it should. We should come up with something that just works. Not something that needs a million knobs.

On Sep 15, 2014, at 8:46 AM, Sean Griffin <notifications@github.com> wrote:

> In activerecord/lib/active_record/secure_key.rb:
> 
> > @@ -0,0 +1,44 @@
> > +module ActiveRecord
> > +  module SecureKey
> > +    extend ActiveSupport::Concern
> > +
> > +    MAX_TRIES = 1000
> I agree, this should be more configurable.
> 
> —
> Reply to this email directly or view it on GitHub.
>