khiav223577

khiav223577

👤 Developer

10 repositories on SrcLog

View on GitHub
10 Repos
784 Stars
46 Forks
784 Watchers

Repositories (10)

deep_pluck khiav223577/deep_pluck Ruby

Allow you to pluck attributes from nested associations without loading a bunch of records.

459
pluck_all khiav223577/pluck_all Ruby

A more efficient way to get data from database. Like #pluck method but return array of hashes instead.

105
rails_or khiav223577/rails_or Ruby

Cleaner syntax for writing OR Query in Rails 5, 6. And also add #or support to Rails 3 and 4.

93
active_model_cachers khiav223577/active_model_cachers Ruby

Simply cache whatever you want by using cachers which will help you maintain cached objects and expire them when they are changed.

61
find_with_order khiav223577/find_with_order Ruby

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)

37
atomically khiav223577/atomically Ruby

An ActiveRecord extension for writing commonly useful atomic SQL statements to avoid race condition.

26
adaptive_alias khiav223577/adaptive_alias Ruby

Extend attribute_alias and make it be adaptive with realtime database schema

2
in_batches khiav223577/in_batches Ruby

Backport in_batches from Rails 5 for Rails 3 and 4.

1
rails_compatibility khiav223577/rails_compatibility Ruby

Provides cross-rails methods for you to upgrade rails, backport features, create easy-to-maintain gems, and so on.

0
sanitize_sql_like khiav223577/sanitize_sql_like Ruby

Backport #sanitize_sql_like method from Rails 4 for Rails 3. Sanitizes a string so that it is safe to use within an SQL LIKE statement.

0