mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-08 02:08:50 +01:00
Bugfix: active_contexts wasn't actually working.
This commit is contained in:
parent
2fda252378
commit
3006f73cb7
2 changed files with 2 additions and 2 deletions
|
|
@ -59,7 +59,7 @@ class User < ActiveRecord::Base
|
|||
has_many :active_contexts,
|
||||
:class_name => 'Context',
|
||||
:order => 'position ASC',
|
||||
:conditions => [ 'hide = ?', 'true' ]
|
||||
:conditions => [ 'hide = ?', false ]
|
||||
has_many :todos,
|
||||
:order => 'todos.completed_at DESC, todos.created_at DESC',
|
||||
:dependent => :delete_all
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue