Sha256: a1e0ed939d27d33269d5d9eb5497f78a8dbf2c5637c8e1431a5de52c1ca796e0
Contents?: true
Size: 619 Bytes
Versions: 33
Compression:
Stored size: 619 Bytes
Contents
# RailsSettings Model class <%= class_name %> < RailsSettings::Base cache_prefix { "v1" } # Define your fields # field :host, type: :string, default: "http://localhost:3000" # field :default_locale, default: "en", type: :string # field :confirmable_enable, default: "0", type: :boolean # field :admin_emails, default: "admin@rubyonrails.org", type: :array # field :omniauth_google_client_id, default: (ENV["OMNIAUTH_GOOGLE_CLIENT_ID"] || ""), type: :string, readonly: true # field :omniauth_google_client_secret, default: (ENV["OMNIAUTH_GOOGLE_CLIENT_SECRET"] || ""), type: :string, readonly: true end
Version data entries
33 entries across 33 versions & 1 rubygems