instiki/vendor/rails/activerecord/test/models/organization.rb
Jacques Distler 4bdf703ab2 Instiki 0.17.2: Security Release
This release upgrades Instiki to Rails 2.3.4, which
patches two security holes in Rails. See

  http://weblog.rubyonrails.org/2009/9/4/ruby-on-rails-2-3-4

There are also some new features, and the usual boatload
of bugfixes. See the CHANGELOG for details.
2009-09-05 02:01:46 -05:00

6 lines
163 B
Ruby

class Organization < ActiveRecord::Base
has_many :member_details
has_many :members, :through => :member_details
named_scope :clubs, { :from => 'clubs' }
end