Ask A Question


You’re not receiving notifications from this thread.

Chris, would you build Simple_Discussion differently today using Rails 7 and Hotwire?

DanInBC asked in General

I'm curious to hear how Chris would approach building simple_discussion if he had to start from scratch using Ruby 3.2, Rails 7 and Hotwire. Cheers! -Dan H


Hey Dan!

I would pretty much do the exact same thing. The only change I would probably do is use ActionText for the posts instead of a text column. That way we can take advantage of Rails's built-in rich text fields.

If you don't need / want that, then I would do the same as it was basically.


Just curious - would you consider simple_discussion to be RESTFUL in the classic Rails sense? I wasn't able to use the gem as I use Tailwind for my app, and it would be too much work to change all of the Bootstrap styling (or use it in conjunction with TW) but I did have a look at the engine, and I think you have done an excellent job.

Join the discussion
Create an account Log in

Want to stay up-to-date with Ruby on Rails?

Join 78,890+ developers who get early access to new tutorials, screencasts, articles, and more.

    We care about the protection of your data. Read our Privacy Policy.

    Screencast tutorials to help you learn Ruby on Rails, Javascript, Hotwire, Turbo, Stimulus.js, PostgreSQL, MySQL, Ubuntu, and more.

    © 2023 GoRails, LLC. All rights reserved.