module SportDB module Models class Round < ActiveRecord::Base has_many :games, :order => 'pos' belongs_to :event end # class Round end # module Models end # module SportDB