Monthly Archives: July 2009

Rails scaffold and references

Using the keyword “references” in my rails scaffold command usually gives me errors, and I think this is the reason why. Following up on one of my favorite rails tutorial: AkitaOnRails I run the command ./script/generate scaffold Comment post:references body:text … Continue reading

Posted in Technology | Leave a comment

Funny nutritional facts

Here are some funny nutritional facts I learned from NPR. 1) Microwaving vegetables is the best way to preserve all the nutrients – LOL @ all the people who don’t have microwaves because they think it’s more natural. 2) Eating … Continue reading

Posted in Personal | 3 Comments

Marrying a Catholic

About a month ago, I got engaged. It’s great! White wedding, picked fences, three kids, and growing old together. Except for one problem, she’s not Catholic and my parents are well-known leaders of our Catholic church. To be frank, I … Continue reading

Posted in Personal | Leave a comment

Commuting from Sacramento to San Francisco

Update 7/19/2011: I recommend using Amtrak if you are commuting from Sacramento to the bay area. Amtrak is faster than driving, safe, and always on time. The time spent “commuting” on Amtrak is actually VERY productive time. With a proper … Continue reading

Posted in Personal | 6 Comments