Sha256: 706d475e03ea091d85ee53a01dab9ac8cb4b1afbd3b6dcfde16714dd1af563f1

Contents?: true

Size: 641 Bytes

Versions: 25

Compression:

Stored size: 641 Bytes

Contents

# -*- encoding: utf-8 -*-
# -*- frozen_string_literal: true -*-
# -*- warn_indent: true -*-

class City < ApplicationRecord
  DEFAULT_OPTIONS = {
    "India" => ["Mumbai", "New Delhi", "Kolkata", "Chennai"],
    "Ireland" => ["Dublin", "Galway", "Cork", "Belfast"],
    "United States" => ["New York", "Los Angeles", "San Francisco", "Chicago"],
    "United Kingdom" => ["London", "Edinburgh", "Manchester", "Bristol"],
    "Spain" => ["Barcelona", "Madrid", "Seville", "Granada"],
    "France" => ["Paris", "Nice", "Lyon", "Marseille"],
    "Canada" => ["Toronto", "Montreal", "Vancouver", "Calgary"],
  }.freeze

  belongs_to :country
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
rails_bootstrap_form-0.9.9 demo/app/models/city.rb
rails_bootstrap_form-0.9.8 demo/app/models/city.rb
rails_bootstrap_form-0.9.7 demo/app/models/city.rb
rails_bootstrap_form-0.9.6 demo/app/models/city.rb
rails_bootstrap_form-0.9.5 demo/app/models/city.rb
rails_bootstrap_form-0.9.4 demo/app/models/city.rb
rails_bootstrap_form-0.9.3 demo/app/models/city.rb
rails_bootstrap_form-0.9.2 demo/app/models/city.rb
rails_bootstrap_form-0.9.1 demo/app/models/city.rb
rails_bootstrap_form-0.9.0 demo/app/models/city.rb
rails_bootstrap_form-0.8.3 demo/app/models/city.rb
rails_bootstrap_form-0.8.2 demo/app/models/city.rb
rails_bootstrap_form-0.8.1 demo/app/models/city.rb
rails_bootstrap_form-0.8.0 demo/app/models/city.rb
rails_bootstrap_form-0.7.2 demo/app/models/city.rb
rails_bootstrap_form-0.7.1 demo/app/models/city.rb
rails_bootstrap_form-0.7.0 demo/app/models/city.rb
rails_bootstrap_form-0.6.2 demo/app/models/city.rb
rails_bootstrap_form-0.6.1 demo/app/models/city.rb
rails_bootstrap_form-0.6.0 demo/app/models/city.rb