Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fix active scope

  • Loading branch information...
commit 026221a15031e53134b3050b1b216fd46e33b3d4 1 parent 317e895
Chris Chan nuprin authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  app/models/project.rb
2  app/models/project.rb
@@ -6,7 +6,7 @@ class Project < ActiveRecord::Base
6 6
7 7 named_scope :alphabetical, :order => "title ASC"
8 8 named_scope :active, lambda {
9   - {:order => ["updated_at >= ?", 1.week.ago]}
  9 + {:conditions => ["updated_at >= ?", 1.week.ago]}
10 10 }
11 11
12 12 DISABLED_PROJECT_FORM_VALUE = -1

0 comments on commit 026221a

Please sign in to comment.
Something went wrong with that request. Please try again.