I get thefollowing error:
NoMethodError in Custom_fields#new
Showing app/views/custom_fields/_form.rhtml where line #88 raised:
undefined method `searchable' for #
Extracted source (around line #88):
85: <%= f.check_box :is_required %>
86: <%= f.check_box :is_for_all %>
87: <%= f.check_box :is_filter %>
88: <%= f.check_box :searchable %>
89:
90: <% when "UserCustomField" %>
91: <%= f.check_box :is_required %>
Trace of template inclusion: /app/views/custom_fields/new.rhtml
RAILS_ROOT: /var/data/redmine/config/..
Application Trace | Framework Trace | Full Trace
/usr/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/active_record/base.rb:1860:in `method_missing'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:349:in `send'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:349:in `value'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:340:in `value'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:302:in `to_check_box_tag'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:210:in `check_box'
/usr/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_view/helpers/form_helper.rb:433:in `check_box'
#{RAILS_ROOT}/app/helpers/application_helper.rb:403:in `check_box'
#{RAILS_ROOT}/app/views/custom_fields/_form.rhtml:88:in `_run_rhtml_47app47views47custom_fields47_form46rhtml'
#{RAILS_ROOT}/app/views/custom_fields/new.rhtml:4:in `_run_rhtml_47app47views47custom_fields47new46rhtml'
#{RAILS_ROOT}/app/helpers/application_helper.rb:313:in `labelled_tabular_form_for'
#{RAILS_ROOT}/app/views/custom_fields/new.rhtml:3:in `_run_rhtml_47app47views47custom_fields47new46rhtml'
/usr/bin/mongrel_rails:16:in `load'
/usr/bin/mongrel_rails:16
Request
Parameters: {"type"=>"IssueCustomField"}
Show session dump
Response
Headers: {"cookie"=>[], "Cache-Control"=>"no-cache"}
good catch
Thanks for pointing that out. It looks like this is a bug in Redmine:
http://www.redmine.org/issues/show/775