Skip to content

Environment config updates#291

Merged
neerajsingh0101 merged 8 commits intomasterfrom
290-config-updates
Mar 13, 2020
Merged

Environment config updates#291
neerajsingh0101 merged 8 commits intomasterfrom
290-config-updates

Conversation

@ashiksp
Copy link
Copy Markdown
Contributor

@ashiksp ashiksp commented Mar 13, 2020

Fixes #290

@bot-bigbinary bot-bigbinary temporarily deployed to wheel-290-config-update-yboqad March 13, 2020 20:28 Inactive
@ashiksp ashiksp force-pushed the 290-config-updates branch from f3df051 to c96e1dc Compare March 13, 2020 20:29
@bot-bigbinary bot-bigbinary temporarily deployed to wheel-290-config-update-yboqad March 13, 2020 20:30 Inactive
@ashiksp
Copy link
Copy Markdown
Contributor Author

ashiksp commented Mar 13, 2020

Neeraj: Please review and let me know changes if any.

@bot-bigbinary bot-bigbinary temporarily deployed to wheel-290-config-update-yboqad March 13, 2020 21:04 Inactive
@neerajsingh0101 neerajsingh0101 merged commit 5e4b906 into master Mar 13, 2020
@neerajsingh0101 neerajsingh0101 deleted the 290-config-updates branch March 13, 2020 21:06
Comment thread config/environments/staging.rb Outdated
config.log_formatter = ::Logger::Formatter.new

# Do not dump schema after migrations.
config.active_record.dump_schema_after_migration = false
Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@neerajdotname The db:migrate rake task runs dump at the end which dumps the database structure to schema.rb file. It is useful in dev env, but not required in staging or production env, right ? By default, it's value is set to true.

Screen Shot 2020-03-15 at 12 01 49 AM

It is not harm to run the task here even though it is not required. Any other specific reason to remove this flag ?
Correct me if I miss anything here.

References:
https://edgeguides.rubyonrails.org/configuring.html
https://groups.google.com/forum/#!topic/rubyonrails-core/h4cQXmKuB7M
rails/rails#13948

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Environment configuration updates

3 participants