##// END OF EJS Templates
misc GUI changes on roles views...
misc GUI changes on roles views git-svn-id: http://redmine.rubyforge.org/svn/trunk@120 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r78:55ed70529aef
r117:1f3380bfadb9
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