All threads / Gem for Questions

Ask A Question


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

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.

Thanks @eelcoj I give this a try!

Join the discussion

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

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

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

    logo Created with Sketch.

    Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

    © 2021 GoRails, LLC. All rights reserved.