hmontazeri/rails-assessment

28-Nov-2025 538
rails-assessment is a mountable Rails 8 engine that lets you ship dynamic, themeable assessments without building CRUD back offices. Define questionnaires in YAML or a Ruby DSL, persist JSONB responses, and deliver a Hotwire-powered multi-step flow that can be embedded in any Rails application. Highlights Declarative definitions — load assessments from YAML files or a compact Ruby DSL. Conditional logic — evaluate answer tags against ordered rules to produce tailored results. Persistence built-in — stores submissions in a single rails_assessment_responses table (JSONB answers + result text). Hotwire UI — Turbo Frames + a Stimulus controller provide a progressive multi-step experience with graceful no-JS fallback. Theme system — inject CSS tokens per assessment, resolve themes via initializer, params, or request proc. Dark mode support — optional dark mode toggle with customizable theme variables. Start screen — optional intro screen with description, estimated time, and branding. ⚠️ Disclaimer — This project is mostly vibe coded and in active development. Expect breaking changes and rapid iteration.
Use coupon code:

RUBYONRAILS

to get 30% discount on our bundle!
Prepare for your next tech interview with our comprehensive collection of programming interview guides. Covering JavaScript, Ruby on Rails, React, and Python, these highly-rated books offer thousands of essential questions and answers to boost your interview success. Buy our 'Ultimate Job Interview Preparation eBook Bundle' featuring 2200+ questions across multiple languages. Ultimate Job Interview Preparation eBook Bundle