@@ -25,7 +25,7 class Wiki < ActiveRecord::Base | |||
|
25 | 25 | |
|
26 | 26 | validates_presence_of :start_page |
|
27 | 27 | validates_format_of :start_page, :with => /\A[^,\.\/\?\;\|\:]*\z/ |
|
28 |
validates_length_of : |
|
|
28 | validates_length_of :start_page, maximum: 255 | |
|
29 | 29 | attr_protected :id |
|
30 | 30 | |
|
31 | 31 | before_destroy :delete_redirects |
General Comments 0
You need to be logged in to leave comments.
Login now