Rails test fixtures and foreign_key

I learned something about rails fixtures that took me a while to figure out: So the standard fixture reference example is # In fixtures/categories.yml about: name: About # In fixtures/articles.yml one: title: Welcome to Rails! body: Hello world! category: about But what if I had in my model class Articles < ActiveRecord::Base belongs_to :category, foreign_key:… Continue reading Rails test fixtures and foreign_key

Published
Categorized as Technology

Yahoo mail is terrible

I’ve been using Yahoo Mail the last couple of days, and that shit is so terrible, I had to write this blog post about it. 1. It’s slow as snail — Something is definitely wrong with the javascript engine on yahoo mail. Clicking between folders is significantly laggy and sometimes it just bugs out and… Continue reading Yahoo mail is terrible

Rails SSL – certificate verify failed

Woke up one morning to find the outbound ssl connections my app (Ubuntu / Apache2 / Ruby on Rails) was trying to make, are no longer working (it was working just fine yesterday) with the following errors: OpenSSL::SSL::SSLError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed It took a frustrating couple of… Continue reading Rails SSL – certificate verify failed

Published
Categorized as Technology

Who has my student loans?

I have auto-pay for my student loans. Today I got a letter in the mail from “Great Lakes” saying I owed them money. I was like, WTF is this, “Great Lakes”? Is this some sort of phishing attempt? Nope. It’s a legit loan company. Some how my student loan got transferred to them. Ok fine.… Continue reading Who has my student loans?

Published
Categorized as Technology

The CoveredCA website sucks

It’s one thing to hear about the government wasting money on something you know little about, but it’s doubly painful when it’s something you are very familiar with. Today I learned that the state of California paid Accenture $359 million to build coveredca.com – California’s online health exchange. http://newsroom.accenture.com/news/accenture-chosen-to-implement-california-health-insurance-exchange.htm The site did not work at… Continue reading The CoveredCA website sucks

How to get Google Apps for free

Note: This post is about how to get google’s business productivity suite — not google play apps. If you are here for Google Play apps, you’re in the wrong place, sorry. A while back, google shut down their Google Apps Standard tier account. It was a great service that allowed you to easily mange services… Continue reading How to get Google Apps for free

Published
Categorized as Technology