See how a minor change to your commit message style can make you a better programmer.
Format: <type>(<scope>): <subject>
<scope>
is optional
require 'sidekiq/api' | |
# 1. Clear retry set | |
Sidekiq::RetrySet.new.clear | |
# 2. Clear scheduled jobs | |
Sidekiq::ScheduledSet.new.clear |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<!-- Josh W Comeau (2020), HTML Skeleton (starter for every web page) → https://joshwcomeau.com/snippets/html/html-skeleton --> | |
<!-- see also my HTML5 boilerplate gist → https://gist.github.com/dfkaye/1ed260cf8cf1990b13aaa272dab0bf97 --> | |
<title>Your Page Title</title> |
TABLES_TO_SKIP = %w[ar_internal_metadata delayed_jobs schema_info schema_migrations].freeze | |
begin | |
ActiveRecord::Base.establish_connection | |
# For all tables uncomment the below | |
# ActiveRecord::Base.connection.tables.each do |table_name| | |
# To limit to specific tables uncomment below | |
['table_name'].each do |table_name| | |
next if TABLES_TO_SKIP.include?(table_name) |
I hereby claim:
To claim this, I am signing this object: