{"adoption": {"forks": 241, "observed_at": "2026-08-28T04:08:11.914599+00:00", "stars": 3623}, "canonical_url": "https://ross.abutalabs.com/products/scenic-views-scenic", "card": {"archived": false, "artifact_type": "library", "description": "Versioned database views for Rails", "domain": ["databases", "web-development", "backend", "developer-tools"], "enriched": true, "function": ["database", "orm", "developer-tools"], "health_score": 74, "homepage": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails", "language": "Ruby", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["scenic-views/scenic"], "name": "scenic-views/scenic", "platform": ["ruby"], "pushed_at": "2026-06-29T17:22:34+00:00", "repo": "scenic-views/scenic", "stars": 3623, "tags": ["rails", "activerecord", "database-views", "postgres", "sql", "migrations", "schema", "web-server"], "topics": ["ruby", "sql", "rails", "schema", "postgres", "database", "activerecord", "hacktoberfest", "database-views"], "urls": [], "use_cases": ["manage versioned SQL database views in a Rails app", "create and update Postgres views through Rails migrations", "use database views without switching schema format to SQL", "implement full-text search across multiple models with a SQL view", "build complex reports by encapsulating SQL in views", "keep view definitions in SQL files with syntax highlighting and easy testing"], "what_it_is": "Scenic is a Ruby gem that adds methods to ActiveRecord::Migration for creating and managing versioned database views in Rails applications. It lets developers define views in SQL files with a convention for versioning that keeps migrations reversible and consistent, shipping with PostgreSQL support and a configurable adapter interface.", "when_to_avoid": ["your application does not use Rails or ActiveRecord", "you use MySQL, SQLite, or another database without a third-party Scenic adapter", "you prefer managing views manually outside your migration history"], "when_to_choose": ["you use Rails with PostgreSQL and want first-class database view support", "you need reversible, versioned migrations for view changes", "you want to express complex queries as composable database views instead of ActiveRecord scopes"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/scenic-views-scenic", "repo": "scenic-views/scenic", "role": "main", "score": 63}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:08:11.914599+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-29T18:31:56.898856+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "1f91c8cf0245a62f55f9a19f93baae9dfcfd5287f72d45f4e05f7c0e34356e22", "fetched_at": "2026-08-28T04:08:11.914599+00:00", "kind": "readme", "missing": false, "url": "https://github.com/scenic-views/scenic"}, {"content_hash": "b53aa0488d0192758e5ffb82a98a4037b8f040fe1cc99575893aa0a37187608b", "fetched_at": "2026-08-29T09:26:34.011343+00:00", "kind": "homepage", "missing": false, "url": "https://thoughtbot.com/blog/announcing-scenic--versioned-database-views-for-rails"}, {"content_hash": "5b152b8c27da4284deab32b2ac854acf69be1b31ed08899a36797cd76e714e01", "fetched_at": "2026-08-29T09:26:34.017661+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services"}, {"content_hash": "9db22fa0af4613d5e9c2ac70313846404694ecb0024eb7be4fda9598074cb9c1", "fetched_at": "2026-08-29T09:26:34.019533+00:00", "kind": "site_page", "missing": false, "url": "https://thoughtbot.com/services/ruby-on-rails-development"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 90, "longevity": 100, "rhythm": 8}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 4509, "days_push": 65, "days_rel": null, "gap_med": null, "n_releases_24m": 0}, "score": 63, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}