Topic: problem on Characters Table

hi all

i have a table, the name is characters , i also has made characters scaffold

scaffold has been succesfully, but when i access characters\list via browser, error like this found :

_________________________________________

(eval):1:in `compute_type': compile error
(eval):1: parse error, unexpected tINTEGER
Object::1
         ^

RAILS_ROOT: script/../config/..
Application Trace | Framework Trace | Full Trace

/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:1244:in `compute_type'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:983:in `instantiate_without_callbacks'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/callbacks.rb:215:in `instantiate'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:390:in `find_by_sql'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:390:in `collect!'
/usr/lib/ruby/gems/1.8/gems/activerecord-1.14.4/lib/active_record/base.rb:390:in `find_by_sql'
app/controllers/characters_controller.rb:13:in `list'

_____________________________

can anyone explain to me, what is going on ?, how can i solve that problem

thanx

nb : i'm sorry for my poor english

Re: problem on Characters Table

Can't really figure it out from there - maybe someone more experienced can from just that. Can you post your code?

http://danielfischer.com - Personal Web-Technology-Blog, Los Angeles.