Sha256: a60036d3009c089fce6296ac4de27afd6ad825826e200b1d9cb75d5e797de531

Contents?: true

Size: 183 Bytes

Versions: 2

Compression:

Stored size: 183 Bytes

Contents

class Client < ActiveRecord::Base

  has_many :notes

  named_scope :active, :conditions => ["deleted = ? OR deleted IS NULL", false]

  def foo
    with_scope do

    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
consul-0.1.1 spec/app_root/app/models/client.rb
consul-0.1.0 spec/app_root/app/models/client.rb