Ross ROSS = Recommend OSS · open-source software intelligence for agents

matthuhiggins/foreigner

Adds foreign key helpers to migrations and correctly dumps foreign keys to schema.rb observed · 2026-08-28

github.com/matthuhiggins/foreigner · Ruby · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

23/100

  • Activity 0
  • Release rhythm 8
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: n/a
  • age_days: 6348
  • days_rel: n/a
  • days_push: 2765
  • n_releases_24m: 0

Full methodology

Adoption not part of the score

1315 stars · 122 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A Ruby gem that adds foreign key helper methods to ActiveRecord migrations and dumps foreign keys into schema.rb. It was rendered obsolete by native foreign key support introduced in Rails 4.2.

Use cases

  • add foreign key constraints to rails migrations
  • dump foreign keys to schema.rb
  • manage foreign keys in rails 3 and earlier
  • remove foreign key constraints in migrations

When to choose

  • maintaining a legacy Rails app on versions before 4.2 that needs foreign key support

When to avoid

  • using Rails 4.2 or later, which supports foreign keys natively
  • starting a new project

Facets

library · maturity abandoned

database orm databases web-development developer-tools ruby foreign-keys rails-migrations activerecord schema-dump legacy rails

1 source

Member repositories

RepositoryRoleHealth v2
matthuhiggins/foreignermain23

For agents

markdown · JSON · MCP: product_card(name="matthuhiggins/foreigner")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem