The Monthly Monitor: Have patience. All things are difficult before they become easy.
Hey Friends,
This was a busy and scary month. We saw a sudden surge of COVID cases in India and the situation is back to where we all started back in 2020.
I did my part of making some donations to NGOs. If you feel like making some donations to the cause, you can see some verified organizations here.
Dev Joke
How to write tests in a front end app . . . . Console.log(“All tests passed”)
Reading/watching list
- Securing Sensitive Data in Rails
- Rails 7 adds the ability to schedule the query on the background thread pool
- Check out some PostgreSQL tips and tricks
- Ruby 3.0.1 Released
- Using the switch(true) pattern in JavaScript increases the readability of the code and reduces the complex
if..else
block.
Podcast
- Interview with David Heinemeier Hansson: Ruby on Rails, Basecamp & HEY
- Interview with Jeremy Evans, Lead developer of Sequel & Roda
- Interview with Rails Committer Heavy Hitter with Rafael França
Rails changelog
- Rails 7.0 adds encryption to Active Record
- Rails 7.0 adds ComparisonValidator to validate comparison of any objects
- Rails 7.0 adds Enumerable#sole
- Rails 7.0 makes better suggestion for missing partials template
- Rails 7.0 fixes issue with rake test:db loading in development
- Rails 7.0 improves
Hash#deep_merge
- Rails 7.0 Forward form: option to hidden Action Text input
My Open-source libraries/contributions
- Rails Contribution
- Adds option
extname
tostylesheet_link_tag
to skip default.css
extension appended to the stylesheet path. - Fixes ActiveRecord#strict_loading! should return boolean instead of current mode set
- Adds documentation for strict_loading_n_plus_one_only?
- Fixes a typo nor -> or in ComparisonValidator exception message
- Adds option
- Boring Generators
Happy coding folks. You can reach out to me twitter for anything and I’ll be happy to chat. Don’t hesitate.
Don't miss what's next. Subscribe to Abhay's Monthly Newsletter: