Jesse Hu wrote:
> why u use upper case name as the field name?
> Please use lower case and try again:
>       folder = Folder.new()
>       folder.id= @id
>       folder.client_name = @un
>       folder.tree_name = @tn
>       folder.save()
> 
> -
> Cheers,
> Jesse

I use upper case, because fields names in db have upper case
(
  ID  INTEGER,
  CLIENT_NAME     VARCHAR2(35 BYTE)             NOT NULL,
  TREE_NAME       VARCHAR2(35 BYTE)             NOT NULL,
)
---
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/.