You signed in with another tab or window. Reload to refresh your session. You signed out in another tab or window. Reload to refresh your session. You switched accounts on another tab or window. Reload to refresh your session. Dismiss alert
The combination of config/secrets.yml, config/secrets.yml.enc, and SECRET_BASE_KEY is confusing. It's not clear what you should be putting in these secrets and whether the SECRET_BASE_KEY is related to the setup in general. This PR will deprecate secrets.yml* and instead adopt config/credentials.yml.enc to signify what these secrets are specifically for: Keeping API keys, database passwords, and a
begin require "bundler/inline" rescue LoadError => e $stderr.puts "Bundler version 1.10 or later is required. Please update your Bundler" raise e end gemfile(true) do source "https://rubygems.org" gem "rails", github: "rails/rails" gem "arel", github: "rails/arel" gem "sqlite3" end require "active_record" require "minitest/autorun" require "logger" # This connection will do for database-independen
If I have DATABASE_URL set and run rails c the settings in config/database.yml are used even though DATABASE_URL should override the settings. If I delete database.yml entirely, then I get the following error: Could not load database configuration. No such file - ["config/database.yml"] (RuntimeError). In irb I can run ENV['DATABASE_URL'] and get the correct URL so I know the environment variable
NoMethodError: undefined method `to_sym' for nil:NilClass /usr/local/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.3/lib/active_record/sanitization.rb:59:in `block in expand_hash_conditions_for_aggregates' /usr/local/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/gems/activerecord-4.2.3/lib/active_record/sanitization.rb:58:in `each' /usr/local/rbenv/versions/2.2.2/lib/ruby/gems/2.2.0/ge
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く