From: Jam Date: 2012-07-17T20:19:44+09:00 Subject: Re: undefined method error On Jul 17, 2012, at 5:13 AM, deal bitte wrote: > rid.database_columns[session_db_array[0]] > You're calling database_columns on the rid object here. > When i execute this line, I am getting an error > > undefined method `database_columns' for # > > puts(database_columns[session_db_array[0]]) gives me the correct value . You're calling database_columns without an explicit receiver here. So the method is being discovered according to the normal "up and to the right" lookup rules. > The value is Title > > I need to assign rid.Title = ...something > > What do I do to get rid of the undefined method error > > -- > Posted via http://www.ruby-forum.com/. >