The Monthly Monitor: As you think, so shall you become.
Hola!
Dev Joke
#pisa-tower { font-style: italic; }
Best code comment:
// // Dear maintainer: // // Once you are done trying to 'optimize' this routine, // and have realized what a terrible mistake that was, // please increment the following counter as a warning // to the next guy: // // total_hours_wasted_here = 42 //
My blogs
- Introducing Boring Generators. Boring Generators is a gem which aims to reduce the time spent on configuration and make development faster by delegating boring setups to the gem.
- Tailwind CSS + Rails via webpack. Installation of the Tailwind CSS is pretty simple now :P
Reading/watching list
- Ruby 2.7.2 Released
- Have you heard it yet? The default branch for newly-created repositories on GitHub will be called main and not master
- What could be better than Airbnb building a library for visualization components? Introducing visx from Airbnb
- The convergence of Ruby on Rails and #AppSec
- Amazing Find: You can use GitHub workflow to update the readme for listing the latest blog you wrote on the GitHub profile repository. Read more about blog-post-workflow.
- Learn SQL by actually writing SQL code
- How to Talk to Users?
Rails changelog
- Rails 6.1 adds support for PostgreSQL
interval
data type with conversion toActiveSupport::Duration
- Locate
fill_in_rich_text_area
by<label>
text - Recover nano precision when serializing
Time
,TimeWithZone
andDateTime
objects. - Rails 6.1 optimize ActiveRecord::Relation#include? on an unloaded relation
- Rails 6.1 return rows affected from batched update_all and delete_all
- Rails 6.1 support passing record to uniqueness validator
:conditions
validates_uniqueness_of :title, conditions: ->(article) { ... }
- Rails 6.1 adds support for exclusive no-store Cache-Control header.
- Rails 6.1 now will list all the pending migration name in the UI
- Rails 6.1 adds connecting_to method.
My Open-source libraries/contributions.
- Open sourced a Gatsby template to easily write simple and nice blogs called gatsby-nice-blog. Live Demo
- Open source a gem called boring_generators. You can read more about it here
Watching/Reading/Reviews
- Busy month. Haven’t found time to read/watch something new.
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: