This application is a example of how to implement a infinite scroll with Rails and Turbo.
We also explore two complementary gems, ActionText and Active Record Import.
To demonstrate the use of all features, we developed a simple blog application. The articles can be generated with a simple seed, and the body of the article is a rich text field.
The index of application is a infinite scroll with the articles.
- Clone this repository
- Install dependencies with
bundle install
- Run the migrations with
rails db:migrate
- Populate the database
rails db:seed
- Run the server with
./bin/dev
- Visit http://localhost:3000
- Ready to Use
Feel free to customize this application.
Check the tutorial step by step in