Sha256: 8a22f854c394c0b9d3e8c3a28b74c80f6929d6d5965c85fb102c28a2061ae7d1

Contents?: true

Size: 199 Bytes

Versions: 5

Compression:

Stored size: 199 Bytes

Contents

require 'arid_cache'

class Company < ActiveRecord::Base

  send(Rails.rails3? ? :scope : :named_scope, :owned, :conditions => ['owner_id is not null'])
  belongs_to :owner, :class_name => 'User'
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
arid_cache-1.4.4 test/lib/models/company.rb
arid_cache-1.4.3 test/lib/models/company.rb
arid_cache-1.4.2 test/lib/models/company.rb
arid_cache-1.4.1 test/lib/models/company.rb
arid_cache-1.4.0 test/lib/models/company.rb