The v
query params shows the heading in the response
GET /_cat/indices?v
GET /_cat/indices/profiles*?v
# config/initialers/generators.rb | |
# This config will not generate the following: | |
# - per model view helpers, or stylesheets | |
# - scaffold.scss | |
# - jbuilder templates, which I only occasionally use | |
# - controller tests, which I don't really use. I do system tests instead. | |
Rails.application.config.generators do |g| |
-- this groups by 5 to keep the length down | |
select length(username) as length, | |
count(*) as count, | |
repeat('*'::text, (COUNT(length(username))::int / 5) + 1) AS histogram | |
from users | |
where username is not null | |
group by length(username) | |
order by length; |
require 'bundler/inline' | |
gemfile(true) do | |
source 'https://rubygems.org' | |
gem 'sqlite3', '~> 1.4' | |
gem 'activerecord', '7.1.3.4' | |
end | |
require 'sqlite3' |