7 lines
173 B
Ruby
7 lines
173 B
Ruby
|
class WikiRedirect < ActiveRecord::Base
|
||
|
belongs_to :wiki
|
||
|
|
||
|
validates_presence_of :title, :redirects_to
|
||
|
validates_length_of :title, :redirects_to, :maximum => 255
|
||
|
end
|