Skip to content

Commit

Permalink
removed unused scope with invalid syntax on ruby 1.9
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmike committed Feb 15, 2014
1 parent 83e9755 commit e9bd900
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions app/models/tip.rb
Expand Up @@ -18,8 +18,6 @@ class Tip < ActiveRecord::Base
unpaid.
where('users.bitcoin_address' => ['', nil]) }

scope :on_project, -> (project) { where(project_id: project.id) }

scope :with_address, -> { joins(:user).where('users.bitcoin_address IS NOT NULL') }

def self.refund_unclaimed
Expand Down

0 comments on commit e9bd900

Please sign in to comment.