lib/og/adapters/oracle.rb in og-0.14.0 vs lib/og/adapters/oracle.rb in og-0.15.0

- old
+ new

@@ -1,9 +1,9 @@ # * Matt Bowen <matt.bowen@farweststeel.com> # * George Moschovitis <gm@navel.gr> # (c) 2004-2005 Navel, all rights reserved. -# $Id: oracle.rb 326 2005-03-28 11:07:17Z gmosx $ +# $Id: oracle.rb 337 2005-03-31 16:20:40Z gmosx $ begin require 'oracle' rescue Logger.error 'Ruby-Oracle bindings are not installed!' @@ -119,15 +119,9 @@ meta.field_index[columns[idx].downcase] = idx end ensure res.close if res - end - - def eval_og_oid(klass) - klass.class_eval %{ - prop_accessor :oid, Fixnum, :sql => "number PRIMARY KEY" - } end def create_table(klass, db) conn = db.get_connection