Sha256: 7ee0d459760f2226ad109dd2407c6fd33658aacab8f5c9ecd888b70fe84a0f93

Contents?: true

Size: 285 Bytes

Versions: 4

Compression:

Stored size: 285 Bytes

Contents

class FIDIUS::CveDb::CveConnection < ActiveRecord::Base
  # If the application is using the cve_db as foreign database this should be
  # uncommented.
  database_yml = YAML.load_file('config/database.yml')
  establish_connection database_yml['cve_db']
  self.abstract_class = true
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
fidius-cvedb-0.0.6 lib/models/fidius/cve_db/cve_connection.rb
fidius-cvedb-0.0.5 lib/models/fidius/cve_db/cve_connection.rb
fidius-cvedb-0.0.3 lib/models/fidius/cve_db/cve_connection.rb
fidius-cvedb-0.0.2 lib/models/fidius/cve_db/cve_connection.rb