Sha256: 6ca521a86dd834e1e234ad25b28b4dc7e96869e9cb9e331b9f1ecae62bd59d9d

Contents?: true

Size: 225 Bytes

Versions: 28

Compression:

Stored size: 225 Bytes

Contents

class EveApp::Station < EveApp::ApplicationRecord
  belongs_to :solar_system
  belongs_to :region

  has_many :stations

  scope :active, -> { where(deleted: false) }
  scope :structure, -> { where('id > ?', 100000000) }
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
eve_app-0.1.34 app/models/eve_app/station.rb
eve_app-0.1.33 app/models/eve_app/station.rb
eve_app-0.1.32 app/models/eve_app/station.rb
eve_app-0.1.31 app/models/eve_app/station.rb
eve_app-0.1.29 app/models/eve_app/station.rb
eve_app-0.1.27 app/models/eve_app/station.rb
eve_app-0.1.22 app/models/eve_app/station.rb
eve_app-0.1.21 app/models/eve_app/station.rb
eve_app-0.1.20 app/models/eve_app/station.rb
eve_app-0.1.19 app/models/eve_app/station.rb
eve_app-0.1.18 app/models/eve_app/station.rb
eve_app-0.1.17 app/models/eve_app/station.rb
eve_app-0.1.16 app/models/eve_app/station.rb
eve_app-0.1.14 app/models/eve_app/station.rb
eve_app-0.1.13 app/models/eve_app/station.rb
eve_app-0.1.12 app/models/eve_app/station.rb
eve_app-0.1.11 app/models/eve_app/station.rb
eve_app-0.1.10 app/models/eve_app/station.rb
eve_app-0.1.9 app/models/eve_app/station.rb
eve_app-0.1.8 app/models/eve_app/station.rb