Sha256: d515aad1dc9c6bb80d9d9662b60a53678762525ed81d33ecbc955001807f6bec

Contents?: true

Size: 143 Bytes

Versions: 3

Compression:

Stored size: 143 Bytes

Contents

class Company < ActiveRecord::Base
  named_scope :owned, :conditions => ['owner_id is not null']
  belongs_to :owner, :class_name => :User
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
arid_cache-0.1.1 test/models/company.rb
arid_cache-0.0.5 test/models/company.rb
arid_cache-0.1.0 test/models/company.rb