Actions
Patch #13498
closedBetter validation for identifier length
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Code cleanup/refactoring
Target version:
-
Start date:
Due date:
% Done:
0%
Estimated time:
Description
Please see...
source:trunk/app/models/project.rb#L76
This could be clearer with minimum and maximum.
Example:
validates_length_of :identifier, :minimum => 1, :maximum => 100, :allow_blank => false
Actions