David Lime

Joined

50 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Using the rails app to send SMS

Using Ruby on Rails, I am developing a medication reminder system that will be deployed on Heroku.

A doctor can enter a patient's medication information, including the medication name, dosage, and timing, and the app will then send the patient a text message to remind him/her to take their medication.

However, I am unable to move forward since I have to run a process over and over again until the medication's period has ended.

An app that uses rails should be able to run a script that repeatedly queries the patient's database and sends an SMS when it's time. The request/response web cycle cannot handle this.

Ruby Gems that enable developers to create background tasks like Rufus scheduler and request look promising, but I am having trouble figuring out how to use them.

Would you be so kind as to point me in the right direction? I am using www.smsala.com for sending sms