10 Jun 2016
Reading time ~1 minute
The day started off on a remarkably athletic note as I biked to Mt. Sanitas Trialhead to meet up with Eli, Albert, and Justin to embark on the hike of my lifetime, which took roughly 45 minutes to reach the peak and another 45 back. Thereafter, Free Lunch Fridays (hereafter referred to as FLF) was in the air, and the interns, being new to the company, were put on the spot to introduce ourselves, which was pleasant. After solidifying our intern group project idea in a highly structured and efficient manner, I tended to modeling posts in Haxxor News. Essentially none of the 8 hours of work that I had put in yesterday were factored into the working code that I managed to push to Github today, as I had to reconfigure the app to use Postgresql (opposed to sqlite3 which is not supported by Heroku). The greater issue lay in the fact that I had deleted a branch in which I had already run the Rails generate command, which duly generated a migration file corresponding to my previous sqlite3 database. When I had attempted to ditch that branch and start over in a new one, Rails was giving me an error that there were still pending migrations even though running the ‘rake db:migrate’ command was alluding to there already existing the posts table in the databse. In the end, I was able to reset things such that a visitor can currently view and add posts to the site.