added xml rendering to songs index
added format.html to songs#index otherwise only xml was showing
added filename to songs.xml rendering data, moved show before index in songs routes
added a daily_downloads column to songs
nothing to commit
deleting new mailer that Im not going to use
added semi_monthly_downloads to songs in database
added notifier model to see if mailer can work
changes
more changes
downloads added to database and if downloads > 5 then message is sent- this is a test
email notifier message now has total number of downloads
querying for number of downloads in notifier because can't get notifier to accept an integer
bug where get_zip controller was sending email no matter what because I had the method added at the end of the controller def get_zip. Fixed bug.
another bug fix: had zero arguments in notifier, when it takes the number of downloads
changed message in notifier to number of downloads not number of downloads over
don't want a message for every download over 20, so will get a message for downloads 20 and 21 only
added songedits to keep track of number of times songs were edited. Added stops in the songs controller if there are too many edits to a song. If too many songs are created. If too many files are downloaded in month. controller will do nothing, just display page again with proper flash notice.With too many downloads a message is sent to me.
added number of songs downloaded to songs index add song section. need to make sure that notifier still works with key email
was checking for when number of downloads this month was between 21 and 22, changed to greater than one. I need a positive so it will send the notifier, so I can check that the notification is being sent.