W8D5,6,7: Refactor, Re-Style, New Functionality, Test, Repeat
My app is finally coming together, on damp-reaches-3345.herokuapp.com (custom domain soon once domain.com finishes transferring my domain name to namecheap.com) I spent a decent amount of times this weekend refactoring code so that it's more efficient, shorter, and makes more sense. I finally implemented delayed-job, foreman, and scheduler and made a rake task / method that checks all my reminders and creates the entire app's alerts at once. This task is set to be run every 10minutes but I currently have the task turned off as to not waste my precious dyno hours. It works though!
I also beefed up my seed file to test the a much larger amount of information, so I implemented Faker so the info looks real.
Next came the big styling review. I originally rushed through it too much so I went back to organize the different sections, factor out some partials of repeated templates, and just make it look better and more functional overall. It's coming together, but still has a long way to go. Studying the CSS over and over again this weekend did help with my styling technique overall as well.
I also refactored my routes so they're not needlessly nested and verbose, while changing my before_filters to enforce the correct authentication and privileges.
I also finally got to add pagination using kaminari and search functionality (using trigrams for substring searches) using pg_search. <3 gems.








