The Monthly Monitor: Practice makes permanent.
Hola!
Dev Joke
A SQL query goes into a bar, walks up to two tables and asks...
“Can I join you?”
My blogs
- Have you ever felt the need to automate the workflow for you and your team or gem you write. Rails generator is the best way to do it and it is better to learn how to test Rails generator with ease.
Reading/watching list
- Ruby 3.0.0 Preview 1 Released
- Writing an operating system in Rust
useMemo
anduseCallback
are awesome React hooks but is really important to understand When to useMemo and useCallback.- RubyKaigi 2020
- GitHub is all in for GraphQL and are exploiting all the benefits GraphQL provide. Read more on GitHub mobile using GraphQL
- Which programming language is faster? Ruby or Python?
- You don't need to
import React from 'react'
with New JSX Transform
Rails changelog
- Rails 6.1 introduces dependent: :destroy_async for associations
- Rails 6.1 comes with gitattributes file. Read more about usage of gitattributes.
- ActiveStorage is now environment-aware
- The default log level is changed from :debug to :info
- Allow
where
references association names as joined table name aliases..
class Comment < ActiveRecord::Base
enum label: [:default, :child]
has_many :children, class_name: "Comment"
end
Comment.includes(:children).where("children.label": "child")
- Ensure
connects_to
on multi-database configuration can only be called on base or abstract classes - Poppler PDF previewer renders a preview image without margins
- Add an ActiveSupport option to allow setting a digest class
- ActiveSupport::Subscriber#attach_to now accepts an inherit_from: argument.
- Replace space/hyphen in enum scope names
- Extract {ActiveStorage,ActionText,ActionMailbox}::Record to offer multi-database support
My Open-source libraries/contributions.
Started working on a hobby project. Will be open-sourcing the code soon. Stay tuned ⭐
Watching/Reading/Reviews
- I am watching Black Clover
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: