remove attr_accessor
This commit is contained in:
parent
7ceba9efcf
commit
cd04ace5e7
|
@ -1,5 +1,4 @@
|
|||
class Blockchain < ActiveRecord::Base
|
||||
attr_accessor :id, :project_id, :genesis_content, :network_id, :connect_ip, :port, :enode, :created_at, :updated_at, :user_id
|
||||
has_one :project, :dependent => :destroy
|
||||
|
||||
# 根据项目id查找对应区块链配置信息
|
||||
|
|
Loading…
Reference in New Issue