Sha256: d0bb9b49aefe8df82ccc0a9d041b6a3f8fd5262a3b8124c31d3331c94c0d3ba3

Contents?: true

Size: 152 Bytes

Versions: 18

Compression:

Stored size: 152 Bytes

Contents

class Client < ActiveRecord::Base

  has_many :notes

  def self.active
    scoped(:conditions => ["deleted = ? OR deleted IS NULL", false])
  end

end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
consul-0.12.2 spec/shared/app_root/app/models/client.rb
consul-0.12.1 spec/shared/app_root/app/models/client.rb
consul-0.12.0 spec/shared/app_root/app/models/client.rb
consul-0.11.2 spec/shared/app_root/app/models/client.rb
consul-0.11.1 spec/shared/app_root/app/models/client.rb
consul-0.11.0 spec/shared/app_root/app/models/client.rb
consul-0.10.2 spec/shared/app_root/app/models/client.rb
consul-0.10.1 spec/shared/app_root/app/models/client.rb
consul-0.10.0 spec/shared/app_root/app/models/client.rb
consul-0.9.1 spec/shared/app_root/app/models/client.rb
consul-0.9.0 spec/shared/app_root/app/models/client.rb
consul-0.8.0 spec/shared/app_root/app/models/client.rb
consul-0.7.0 spec/shared/app_root/app/models/client.rb
consul-0.6.1 spec/shared/app_root/app/models/client.rb
consul-0.6.0 spec/shared/app_root/app/models/client.rb
consul-0.5.0 spec/shared/app_root/app/models/client.rb
consul-0.4.2 spec/shared/app_root/app/models/client.rb
consul-0.4.1 spec/shared/app_root/app/models/client.rb