Ask A Question

Notifications

You’re not receiving notifications from this thread.

Ruby Module Include Tracking Discussion

Very nice that you showed how to make it work with Concerns.

Reply

Rubymine has this find references feature built in. Works quite well for me.

Reply

Nice tutorial

Reply

Nice screencast! I use this to check which models includes a concern:

ActiveRecord::Base.descendants.select { |c| c.included_modules.include?(Contentable) }

Reply

🔥 Thanks :-)

Reply

Awesome, thank you.

Reply

Wow, awesome.

Reply
Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 87,265+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.