\timing
show hba_file; (host-based authentication)
show data_directory;
show search_path;
show timezone;
show work_mem;
\timing
show hba_file; (host-based authentication)
show data_directory;
show search_path;
show timezone;
show work_mem;
https://github.com/augustl/net-http-cheat-sheet
http.set_debug_output($stdout)
r g migration AddCampaignToWorkList campaign:belongs_to
gem cleanup --dryrun command will preview what gems are going to be removed
https://www.mongodb.com/docs/mongoid/current/reference/associations/
https://mongoid.github.io/old/en/mongoid/docs/documents.html#fields
https://www.rubydoc.info/github/mongoid/mongoid/Mongoid%2FClients%2FStorageOptions%2FClassMethods:store_in
https://docs.mongodb.com/mongoid/current/tutorials/mongoid-documents/#dirty-tracking
Model.where(:total_by_hour_meta.gt => {}).take(5)
# emdedded_in
Model.where('rental_periods.price_per_m2' => {'$gte' => 1 })
https://www.rubypigeon.com/posts/rspec-expectations-cheat-sheet/
rspec spec/models spec/services spec/jobs/foo_spec.rb
# Run options: include { locations: { './spec/construction_spec.rb': [10] } }
rspec ./spec/contruction_spec.rb:10