get tests running and fix editing context state

This commit is contained in:
Reinier Balt 2013-02-27 23:31:02 +01:00
parent 99eed9f638
commit 1e84adc91b
8 changed files with 27 additions and 17 deletions

View file

@ -6,7 +6,7 @@ class Context < ActiveRecord::Base
belongs_to :user
scope :active, :conditions => { :state => :active }
scope :hidden, :conditions => { :state => :hide }
scope :hidden, :conditions => { :state => :hidden }
acts_as_list :scope => :user, :top_of_list => 0