##// END OF EJS Templates
route for repositories controller removed (problem when running under apache)...
route for repositories controller removed (problem when running under apache) git-svn-id: http://redmine.rubyforge.org/svn/trunk@110 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r78:55ed70529aef
r107:13611bf0ab41
Show More
comment.rb
6 lines | 237 B | text/x-ruby | RubyLexer
class Comment < ActiveRecord::Base
belongs_to :commented, :polymorphic => true, :counter_cache => true
belongs_to :author, :class_name => 'User', :foreign_key => 'author_id'
validates_presence_of :commented, :author, :comment
end