hot-glue-for-rails / HGEnumWithPartials1

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Proof of concept for Hot Glue feature Enums with Partials

use build commands:

rails generate hot_glue:scaffold Thing --modify='status{partial}' --gd --smart-layout

or to make the status non-editable:

 rails generate hot_glue:scaffold Thing --modify='status{partial}' --gd --smart-layout --show-only='status'

Node + Ruby versions are in .node-version and .ruby-version, respectively.

Setup

bin/setup

Start Rails

bin/dev

Run Specs

run with bin/rake

About


Languages

Language:Ruby 75.3%Language:HTML 22.3%Language:JavaScript 1.8%Language:Shell 0.4%Language:SCSS 0.2%