Well it depends on what is defined as active. Maybe the word active is 
bad in this sense, but not sure what would be better. Personally I feel 
a month is a very short period. I suppose we could add "monthly" to the 
statistics json, it already has that scope in the user model. Opinions?

On 02/12/13 12:49, Antoine D. wrote:
>
> In spec/models/user_spec.rb:
>
> > @@ -94,6 +94,22 @@
> >        User.daily_actives.should_not include(user)
> >      end
> >    end
> > +
> > +  describe 'halfyear_actives' do
> > +    it 'returns list which includes users who latest signed in within half a year' do
> > +      user = FactoryGirl.build(:user)
> > +      user.last_sign_in_at = Time.now - 4.month
>
> Well, for me an active user is someone who connects at least once per 
> month. Someone who didn't connect for 5 months is not really active...
>
> —
> Reply to this email directly or view it on GitHub 
> <https://github.com/diaspora/diaspora/pull/4602/files#r8021879>.
>