Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #11605 (new defect)

Opened 3 weeks ago

Last modified 3 weeks ago

update is defined by ActiveRecord

Reported by: pfkdesign Assigned to: core
Priority: normal Milestone: 2.x
Component: ActiveRecord Version: edge
Severity: minor Keywords: `instance_method_already_implemented?'
Cc:

Description

hi, i dont know why i'm getting this error! i did 2 times clean installation and after that i made with scaffolding a page. so what ever i do i get this error, i tried different naming and different database do didnt work! please help me,

ruby:1.86 rails:2.0.2 gem: 1.1.1 on mac, os leopard 10.5.2.

/usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:88:in `instance_method_already_implemented?' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:64:in `define_attribute_methods' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:63:in `each' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:63:in `define_attribute_methods' /usr/local/lib/ruby/gems/1.8/gems/activerecord-2.0.2/lib/active_record/attribute_methods.rb:290:in `respond_to?' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_helper.rb:560:in `value_before_type_cast' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_helper.rb:550:in `value_before_type_cast' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_helper.rb:465:in `to_input_field_tag' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_helper.rb:289:in `text_field' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_helper.rb:640:in `send' /usr/local/lib/ruby/gems/1.8/gems/actionpack-2.0.2/lib/action_view/helpers/form_helper.rb:640:in `text_field' app/views/pages/new.html.erb:8:in `_run_erb_47app47views47pages47new46html46erb' app/views/pages/new.html.erb:5:in `_run_erb_47app47views47pages47new46html46erb' app/controllers/pages_controller.rb:29:in `new'

Change History

04/23/08 07:21:27 changed by toretore

  • priority changed from high to normal.
  • severity changed from normal to minor.

He had an "update_at" column, and the problem was solved by renaming it to "updated_at".