lib/generators/settings/templates/model.rb in rails-settings-cached-2.0.0 vs lib/generators/settings/templates/model.rb in rails-settings-cached-2.0.1
- old
+ new
@@ -5,6 +5,8 @@
# 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