Sha256: b9e865792d3331d79a4ee987048f9ef45aa6714fb45ef8d7cbd7a106e31c81fd

Contents?: true

Size: 197 Bytes

Versions: 2

Compression:

Stored size: 197 Bytes

Contents

require 'peoplefinder'

class Peoplefinder::Community < ActiveRecord::Base
  self.table_name = 'communities'

  has_many :people, dependent: :restrict_with_exception

  def to_s
    name
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peoplefinder-0.1.1 app/models/peoplefinder/community.rb
peoplefinder-0.1.0 app/models/peoplefinder/community.rb