Ask A Question

Notifications

You’re not receiving notifications from this thread.

Gem for Questions

Rob Thomas asked in Gems / Libraries

Hey Rails Devs,

I'm developing an app and I want to send user random questions at random times on certain days. Are there any good Gems to do this or will I have to create something on my own?

Thanks in advance

Reply

This is a quite specific feature. So building something yourself is the way to go. Basically three models: User, Question, AskedQuestion (as a join model between User/Question). Check the whenever gem to easily created cronjobs.

Reply

Thanks @eelcoj I give this a try!

Reply
Join the discussion
Create an account Log in

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

Join 76,990+ 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. Icons by Icons8

    © 2023 GoRails, LLC. All rights reserved.