Yea definitely. Lets discuss next week. Oh also can you remember to set the
user's password to random?


On Fri, Sep 20, 2013 at 2:57 PM, HSalmon <notifications@github.com> wrote:

> In app/models/user.rb:
>
> > @@ -196,8 +196,20 @@ def name
> >      deleted_at ? "Deleted user" : read_attribute(:name)
> >    end
> >
> > +  def active
> > +    self.where(:deleted_at => nil)
> > +  end
> > +
> > +  def inactive
>
> Sure thing, I thought either way was fine so I went with this but I'll
> make those change. I was more wondering how we'd incorporate scope when
> active users are such a ubiquitous resource - are we going to have to make
> every reference to users users.active (eg. group.users =
> group.users.active)? Seems like a big task - maybe something we should
> talk about?
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/loomio/loomio/pull/1085/files#r6479064>
> .
>