From: Alexey Nik Date: 2008-02-21T19:56:22+09:00 Subject: Re: Create record into Oracle DB Jesse Hu wrote: > 2008/2/20, Alexey Nik : >> > - >> I try lower case and got error : undefined method `id=' for >> # >> --- >> >> 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/.