Colin Law wrote in post #1039519: > On 5 January 2012 02:53, Daisy Di <li...@ruby-forum.com> wrote: >> dont have this column,and i cant change any thing in the database,how to >> resolve this problem?Thanks . > > A way to resolve the problem is to stick to the rails conventions for > id columns and so on. That is the best way unless you have a legacy > database and *really* cannot change the schema. > > Colin
Hi Colin, i really have a legacy database and cant change anything...... thanks very much -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk@googlegroups.com. To unsubscribe from this group, send email to rubyonrails-talk+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.