Skip to content

swobspace/rails-playground

Repository files navigation

rails-playground

Rails playground for testing stimulus, javascript and new rails features.

Using:

  • rails 7.0

  • jssbundling-rails with esbuild

  • cssbundling-rails with bootstrap 5

Have fun. If you find a bug or something to improve, open an issue or create a pull request.

Installation

Clone the repository
git clone https://github.com/swobspace/rails-playground.git
Change into the directory rails-playground and install dependencies
cd rails-playground
bundle && yarn
Run the database migration and fill database with some test data
bin/rake db:migrate
bin/rake db:seed
Start the webserver
bin/dev

Available Examples

Category Description

Datatables

Using a single stimulus controller for 3 different scenarios: html tables with and without buttons and for tables with server side processing (fetching data via ajax)