RubyGems Navigation menu

activerecord_follow_assoc 0.1.0

In ActiveRecord, allows you to query the association of the records that your current query would return. If you need the comments of some posts: `Post.where(...).follow_assoc(:comments)`. You can then chain `where` on the comments.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 0.1.2 - March 22, 2024 (13 KB)
  2. 0.1.1 - November 11, 2023 (13 KB)
  3. 0.1.0 - September 28, 2021 (13 KB)

Runtime Dependencies (1):

activerecord >= 4.1.0

Development Dependencies (9):

bundler >= 1.15
deep-cover >= 0
niceql >= 0.1.23
pry >= 0
rake >= 10.0
rspec >= 0
rubocop = 0.54.0
simplecov >= 0
sqlite3 >= 0

Owners:

Pushed by:

Authors:

  • Maxime Lapointe

SHA 256 checksum:

f97b061437afd61a761fa49719b266147d1c9eb91dd1723dbca1e1d6b1a4245a

Total downloads 2,533

For this version 2,026

License:

MIT

Required Ruby Version: >= 2.1.0

Links: