RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Fetching ancestors/sibling records per locale in ActiveRecord

Working with tables where there may be multiple columns referencing parent records.

https://www.ramblingcode.dev/posts/ancestor_chain_per_locale_in_active_record_models/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in