Index: app/models/issue_category.rb =================================================================== --- app/models/issue_category.rb (revision 1746) +++ app/models/issue_category.rb (working copy) @@ -22,7 +22,7 @@ validates_presence_of :name validates_uniqueness_of :name, :scope => [:project_id] - validates_length_of :name, :maximum => 30 + validates_length_of :name, :maximum => 40 alias :destroy_without_reassign :destroy Index: app/views/issue_categories/_form.rhtml =================================================================== --- app/views/issue_categories/_form.rhtml (revision 1746) +++ app/views/issue_categories/_form.rhtml (working copy) @@ -1,6 +1,6 @@ <%= error_messages_for 'category' %>
-

<%= f.text_field :name, :size => 30, :required => true %>

+

<%= f.text_field :name, :size => 40, :required => true %>

<%= f.select :assigned_to_id, @project.users.collect{|u| [u.name, u.id]}, :include_blank => true %>

Index: db/migrate/097_change_issue_categories_name_length_limit.rb =================================================================== --- db/migrate/097_change_issue_categories_name_length_limit.rb (revision 0) +++ db/migrate/097_change_issue_categories_name_length_limit.rb (revision 0) @@ -0,0 +1,9 @@ +class ChangeIssueCategoriesNameLengthLimit < ActiveRecord::Migration + def self.up + change_column :issue_categories, :name, :string, :limit => 40 + end + + def self.down + change_column :issue_categories, :name, :string, :limit => 30 + end +end