Mirage
Mirage

Reputation: 1487

set a reminder for a todo app in rails

i'm totally new to rails. I've prepared a simple todo application with rails 3.0
Need help on adding

  • Reminder for Todo task set.
  • Email the reminder.
  • i'm totally new to rails.

    So far i've done:

    Upvotes: 0

    Views: 1346

    Answers (1)

    Nishant
    Nishant

    Reputation: 3005

    Please follow the guides, to get a better understanding of how Rails works.

    1. You would need to have models for User and Tasks in place. Create and associate those models, by following along the first guide. Following this guide, you would know how best to model your application.

      1. You would need models for Users and Tasks with reminders
      2. Users would create those tasks with the expiry / reminder time.
      3. Run a background task periodically to check for expiry of these tasks and appropriately send email reminders.
    2. For emailing follow the guide about ActionMailer - Action Mailer Basics

    Upvotes: 6

    Related Questions