I'd specifically recommend a rails app have config/initializers/squash.rb containing
if Rails.env.production?
Squash::Ruby.configure :api_host => 'https://example.com',
:api_key => 'abc123'
class ApplicationController < ActionController::Base
include Squash::Ruby::ControllerMethods
enable_squash_client
end
end
We probably don't want development errors being transmitted, as
1) that's noisy 2) those commits aren't likely available to squash (and the Blamer will fail)
on the overlay popped up by Learn how to add Squash to your project
I'd specifically recommend a rails app have
config/initializers/squash.rb
containing