I use the Apartment gem in Rails 4 to manage mult-tenancy in my Rails app.
As explained by this question, the PG Stat Statments that attempt to execute require superuser privelage, which Heroku does not allow. So I followed the directions to disable pg_stat_statements
.
However the next time I created a migration, I noticed that this line got re-added to the db/schema.rb
file.
enable_extension "pg_stat_statements"
How do I configure active record to never re-add that enable..
line again? I want that permanently disabled.
Thanks!