Use lazy decryption

bfa9ed0

> On Nov 19, 2014, at 4:49 PM, Joshua Priddle <notifications@github.com> wrote:
> 
> In lib/crypt_keeper/model.rb:
> 
> > +
> > +          define_method "#{field}_change" do
> > +            attribute_change(field)
> > +          end
> > +
> > +          define_method "#{field}_was" do
> > +            attribute_was(field)
> > +          end
> > +
> > +          define_method "#{field}_will_change!" do
> > +            attribute_will_change!(field)
> > +          end
> > +
> > +          define_method "reset_#{field}!" do
> > +            if attribute_changed?(field)
> > +              __send__("#{field}=", changed_attributes[field])
> Why __send__?
> 
> —
> Reply to this email directly or view it on GitHub <https://github.com/jmazzi/crypt_keeper/pull/91/files#r20610186>.
>