RubyGems Navigation menu

activerecord_follow_assoc 0.1.2

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:

d595c3f5857af8409763d33c45ced30b02bd755e35ebc30b8a09d00dbce978ba

Total downloads 2,509

For this version 176

License:

MIT

Required Ruby Version: >= 2.1.0

Links: