Rumble Huang
Rumble Huang
active_model_cachers
Simply cache whatever you want by using cachers which will help you maintain cached objects and expire them when they are changed.
atomically
An ActiveRecord extension for writing commonly useful atomic SQL statements to avoid race condition.
deep_pluck
Allow you to pluck attributes from nested associations without loading a bunch of records.
find_with_order
Provides a simple way to find records in the same order of input array. Has better performance than manually sorting. (Support both PostgreSQL and MySQL)
pluck_all
A more efficient way to get data from database. Like #pluck method but return array of hashes instead.
rails_or
Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.
multi_range
Allow you to manipulate a group of ranges. Such as merging overlapping ranges, doing ranges union, intersection, difference, and so on.