# codebrew/backbone-rails

Easily use backbone.js with rails 3.1

Repository: https://github.com/codebrew/backbone-rails
Canonical: https://ross.abutalabs.com/products/backbone-rails
Language: Ruby
License: MIT
License Family: permissive
Last push: 2021-06-15T23:12:42+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 5593, "days_push": 1905, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1596, forks 253 (observed 2026-08-28T04:05:09.171934+00:00)

## What it is
A Ruby gem that vendors Backbone.js and Underscore.js into the Rails 3.1+ asset pipeline and provides generators for models, routers, views, and templates. It scaffolds client-side Backbone code that talks to Rails CRUD backends.

## Use cases
- add backbone.js to a rails app
- generate backbone models and collections for rails resources
- scaffold a single-page CRUD app on rails
- set up backbone directory structure and namespacing in rails asset pipeline

## When to choose
- you maintain a legacy Rails 3.1+ app using Backbone.js and the sprockets asset pipeline
- you want quick generators for Backbone models, routers, and views wired to Rails scaffolds

## When to avoid
- you are starting a new project - Backbone.js is legacy and modern Rails uses different frontend tooling
- you use Rails without the sprockets asset pipeline or prefer React/Vue/Hotwire

## Facets
- artifact type: library
- maturity: maintenance
- function: frontend-framework, boilerplate, cli
- domain: web-development, frontend, developer-tools
- platform: ruby
- tags: backbonejs, rails-gem, asset-pipeline, generators, coffeescript, single-page-app, web-server

## Member repositories
- codebrew/backbone-rails (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:05:09.171934+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T03:54:02.937591+00:00, confidence not recorded.
  - readme: https://github.com/codebrew/backbone-rails (fetched 2026-08-28T04:05:09.171934+00:00, sha 7637cd3d2525)
- Data as of 2026-08-30T08:39:29.467469+00:00.
