Sha256: 91ae27b76aacba6c34fd12d54f0d4a64c964cf2b6a3b7cd9b64468e80834b00a
Contents?: true
Size: 614 Bytes
Versions: 2
Compression:
Stored size: 614 Bytes
Contents
## This is an init-script intented to be copied to ## rails-root/config/initializers ## Integrate a namespaced model #module HC # #end # #Hc = HC #ActiveOrient::Model.keep_models_without_file = false #ActiveOrient::Init.define_namespace { HC } #ActiveOrient::OrientDB.new preallocate: true # # class ActiveOrient::Model # def self.namespace_prefix # "" # end # end # # At the end: include everything which is not yet allocated to some namespaced model ActiveOrient::Init.connect ActiveOrient::Model.keep_models_without_file = true ActiveOrient::OrientDB.new preallocate: true
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
active-orient-0.80 | rails/activeorient.rb |
active-orient-0.79 | rails/activeorient.rb |