Oct. 13, 2023, 9 p.m.

Weeknotes: 9 October to 13 October 2023

Learning more about a Ruby method, deploying a Rails app without a CLI command, generating a Dockerfile with Rails 7.1 and continuous accessibility

Sandra's Weeknotes

brown mountain under white clouds and blue sky during daytime
Photo by innayat anhar on Unsplash

What I have found gripping

  • An each loop in Ruby is a way to “repeat until done”

  • Not having a CLI command to set secrets before deploying a Rails app to a new host makes for a more complex deployment process

  • Using this Rails command is a necessary step in the process: EDITOR=vim rails credentials:edit --environment production

  • In Rails 7.1, it is possible to generate a Dockerfile by typing this Rails command in the terminal at the root of the project folder: bin/rails generate dockerfile

  • Adding CSS to a Sinatra app involves a DRY (Don’t Repeat Yourself) approach

What I have read

  • Ruby Loops: Repeating Something Many Times

  • Don’t repeat yourself (Wikipedia)

  • Continuous Accessibility (Notist slides)

Featured quote

Any plans we make to improve accessibility in our products should include plans for the code we already have. We need to think about the age of our code base. How long has that code been around? This will probably make us think about those dependencies that we need to upgrade. How do we plan for upgrades? — Melanie Sumner

What I have watched

Continuous accessibility - Universe 2022

Further reading and resources

In English

  • Continuous Accessibility, Melanie Sumner

  • Why skills-based hiring is great, and mostly failing, Ginny Clarke

In French

  • Et si on créait des « sanctuaires sans IA » ?, Antonio Pele (Associate professor, Law School at PUC-Rio University & Marie Curie Fellow at IRIS/EHESS Paris)

Thanks for reading Sandra’s Weeknotes!

You just read issue #11 of Sandra's Weeknotes. You can also browse the full archives of this newsletter.

Share on LinkedIn Share via email
Powered by Buttondown, the easiest way to start and grow your newsletter.