Sha256: 7260ff635e44271616cd9af0e763b44c572f119c20199b294a60740625c3e023

Contents?: true

Size: 267 Bytes

Versions: 14

Compression:

Stored size: 267 Bytes

Contents


class Iro::Option
  include Mongoid::Document
  include Mongoid::Timestamps
  store_in collection: 'iro_options'

  # field :ticker
  # validates :ticker, uniqueness: true, presence: true

  field :symbol
  validates :symbol, uniqueness: true, presence: true


end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
iron_warbler-2.0.7.22 app/models/iro/option.rb
iron_warbler-2.0.7.21 app/models/iro/option.rb
iron_warbler-2.0.7.20 app/models/iro/option.rb
iron_warbler-2.0.7.19 app/models/iro/option.rb
iron_warbler-2.0.7.18 app/models/iro/option.rb
iron_warbler-2.0.7.17 app/models/iro/option.rb
iron_warbler-2.0.7.16 app/models/iro/option.rb
iron_warbler-2.0.7.15 app/models/iro/option.rb
iron_warbler-2.0.7.14 app/models/iro/option.rb
iron_warbler-2.0.7.13 app/models/iro/option.rb
iron_warbler-2.0.7.12 app/models/iro/option.rb
iron_warbler-2.0.7.11 app/models/iro/option.rb
iron_warbler-2.0.7.10 app/models/iro/option.rb
iron_warbler-2.0.7.9 app/models/iro/option.rb