lib/graphdb/model/tx_in.rb in bitcoin2graphdb-0.3.3 vs lib/graphdb/model/tx_in.rb in bitcoin2graphdb-0.3.4
- old
+ new
@@ -7,11 +7,11 @@
property :script_sig_asm
property :script_sig_hex
property :coinbase
property :sequence
- has_one :out, :transaction, type: :transaction, model_class: Transaction
- has_one :in, :out_point, origin: :out_point, model_class: Graphdb::Model::TxOut
+ has_one :out, :transaction, type: :transaction, model_class: 'Graphdb::Model::Transaction'
+ has_one :in, :out_point, origin: :out_point, model_class: 'Graphdb::Model::TxOut'
validates :sequence, :presence => true
after_create :add_out_point_rel
\ No newline at end of file