Syncing your personal and work calendars in Google Calendar. I live off my Google Calendar, and both my personal and work calendars can get pretty complicated. I found it difficult to keep the two in sync, namely blocking out time in the workday when I have something personal come up (e.g. a
How to upgrade Ruby. I've done this so many times, and I keep forgetting what exactly needs to be done. So I decided to write it down. Enjoy! You have a few files to update: .ruby-version -- tells various systems (e.g. rvm) which ruby version to use
rails Testing an attachment CSV with RSpec and controllers. Ever send down a CSV from a controller like this: def index @users = User.all respond_to do |format| format.csv { send_data @users.to_csv, filename: "users-#{Date.today}.csv" } end endAnd then wonder how you can test the contents as well as