Posts
-
A little UI for the rails new command
rails newis the first command you run on any Rails project — and also the one with the most flags nobody quite remembers.--skip--this,--css=-that, and the list keeps shifting between versions:--skip-solid,--skip-kamaland--skip-thrusterare Rails 8.0;--skip-rubocop,--skip-brakemanand--skip-ciarrived in 7.2;--skip-dockerand--database=trilogyin 7.1. -
Car Plates In Poland
Car Plates In Poland
-
Rubymine foreman run configuration
New Rails apps with JS and CSS bundling need yarn watches to recompile assets during development. This is resolved by shipping with
bin/devscript and a Procfile that installs and starts foreman. -
Rails 7 Turbo Drive breaking change
You might encounter it when upgrading to rails >= 7.
-
Setup Heroku app on naked domain with SSL using DNS registrar not supporting ALIAS record via Cloudflare
Intro
Apps hosted on Heroku does not have static IP addresses assigned to them so it is impossible to simply setup
Atype DNS record (it requires IP). Most DNS registrars does not allow settingCNAME(also calledALIAS) toroot domain(also callednaked domain). Cloudflare allows such setting using, as they call it,CNAME flattening. Another features of Cloudflare are protection against various attacks and caching. -
Backup and restore data from server PostgreSQL using pg_dump and pg_restore
Bunch of commands that will let you move data bettwen postgres instances.
subscribe via RSS