Jesse Hu wrote: > 2008/2/20, Alexey Nik <sc_out / tut.by>: >> > - >> I try lower case and got error : undefined method `id=' for >> #<FolderTree:0x54060b0> >> --- >> >> Does anybody have solution of this problem ? >> -- >> Posted via http://www.ruby-forum.com/. >> >> > It has no relation to the character case of field names in db. You'd > better > use lower case string for the function name in Ruby. > > How is your db migration file (001_create_fold_trees.rb > ) for the FoldTree model like? it's conetns of 001_create_folder_trees.rb : class CreateFolderTrees < ActiveRecord::Migration def self.up create_table :folder_trees do |t| end end def self.down drop_table :folder_trees end end -- Posted via http://www.ruby-forum.com/.