From: Brian Candler Date: 2010-02-17T01:05:23+09:00 Subject: Re: Skipping headers in FasterCSV John Mcleod wrote: > "Error adding projects to IRB table. (undefined method `IRB' for > #). Please try again." Where did "Please try again" come from? Is this your own exception handler? Try commenting that out so you get a full backtrace. There's probably an AR method you can use to inspect the class (Irb.column_names maybe?) And in any case, check there are accessor methods for the columns you expect, e.g. x = Irb.new x.irb_number = 123 x.pi_full_name = "bar" If this is a rails app, use "script/console production" as an easy way to do this. It fires up a Ruby IRb shell with your models already loaded. And finally, if you are developing for Oracle, then your dev database should be Oracle too! There is a free edition of Oracle (XE) which is just the job. Limited to 1 CPU, 1GB RAM, 4GB table space. http://www.oracle.com/technology/products/database/xe/index.html -- Posted via http://www.ruby-forum.com/.