mardi 5 mai 2015

Show Certain Programs Depending On Certain Months

I am setting up an app that has certain programs that a user can subscribe to. These programs start and stop consecutively (example program A runs form Jan-March, program B runs to April-June, program C runs July-September and program D runs from October-December).

I would like to only display the programs open for subscribers when the month is present for the specific program or programs.

What is the proper method (Built in or to create) to set up in my views? I have read through the Ruby Date Api Docs (http://ift.tt/1woy8bR) but didnt find anything to suffice

Aucun commentaire:

Enregistrer un commentaire