Rails Assessment

screenshot of Rails Assessment
rails

A mountable Rails 8 engine that lets you ship dynamic, themeable assessments without building CRUD back offices.

Overview

The Rails Assessment Engine is an innovative tool designed for developers looking to create dynamic and customizable assessments within their Rails applications. This mountable engine leverages Rails 8 to offer an uncomplicated approach to shipping assessments without the hassle of building extensive CRUD interfaces. With the ability to define questionnaires using YAML or a Ruby DSL, developers can easily manage and analyze responses, all while providing users with an engaging and interactive experience through a Hotwire-powered multi-step flow.

With its responsive design and theme support, the Rails Assessment Engine caters to modern web standards, ensuring that both light and dark modes can be effectively managed. It's ideal for anyone needing a straightforward solution to implement complex assessment functionalities seamlessly into their existing Rails applications.

Features

  • Declarative Definitions: Easily load assessments from YAML files or a concise Ruby DSL, streamlining the configuration process.
  • Conditional Logic: Customize assessments by evaluating answer tags against ordered rules, allowing for tailored results based on user input.
  • Persistence Built-in: Effortlessly store submissions in a dedicated table with JSONB for answers and result text, ensuring easy data management.
  • Hotwire UI: Enjoy a smooth, progressive multi-step experience powered by Turbo Frames and a Stimulus controller, with graceful fallback for no-JS users.
  • Theme System: Customize the look of assessments by injecting CSS tokens per assessment and resolving themes via initializers or request parameters.
  • Dark Mode Support: Add an optional dark mode toggle along with customizable theme variables to enhance the user experience for different environments.
  • Start Screen: Enhance initial engagement with an optional intro screen featuring a description, estimated time completion, and branding elements.
  • Active Development: Be aware that the engine is in active development, suggesting frequent updates and enhancements, albeit with potential breaking changes.
rails
Ruby on Rails

Ruby on Rails, often referred to as Rails, is an open-source web application framework written in Ruby. Known for its convention over configuration and don't repeat yourself (DRY) principles, Rails simplifies and accelerates the development of database-backed web applications.