From aeb961708e63c763be8d6e24a2ec4cf7c139fcfa Mon Sep 17 00:00:00 2001 From: Toks Date: Thu, 6 Mar 2014 21:45:36 -0500 Subject: [PATCH] Fix reference to non existent column --- app/models/artist.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/models/artist.rb b/app/models/artist.rb index b81c66542..722029311 100644 --- a/app/models/artist.rb +++ b/app/models/artist.rb @@ -297,7 +297,7 @@ class Artist < ActiveRecord::Base q = q.banned when /status:active/ - q = q.where("is_banned = false and is_deleted = false") + q = q.where("is_banned = false and is_active = true") when /./ q = q.any_name_matches(params[:name])