Hello everyone
I have this rather strange problem. After updating rails from 1.1.6 to
1.2.2 I get these errors when using check_box and radio_button. Before
everything was peachy…
System: OS X (10.4.10), MySQL, Ruby 1.8.5, Rails 1.2.2
This is the line that seems to offend:
13:
<%= check_box(“tour”, “is_festival”) %>Ist ein Festival (der Festivalname wird
anstelle der Bands benutzt)
The object, a CalendarTour (in @tour) is an object extended from
ActiveRecord::Base.
The error report at the bottom reads as follows:
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/
form_helper.rb:302:in value' #{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/ form_helper.rb:302:in
to_check_box_tag’
#{RAILS_ROOT}/vendor/rails/actionpack/lib/action_view/helpers/
form_helper.rb:210:in check_box' #{RAILS_ROOT}/app/views/resys/calendar/enter_tourdates.rhtml:13:in
_run_rhtml_47app47views47resys47calendar47enter_tourdates46rhtml’
#{RAILS_ROOT}/app/controllers/resys/calendar_controller.rb:411:in
`save_tourdates’
I can’t for the life of me find what’s wrong. I get these random
seeming errors in different FORMs…
Any ideas? Thanks a lot!
al