Ask A Question

Notifications

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

Reply

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.

Reply

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.

Reply
Join the discussion
Create an account Log in

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

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

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