Rails, Firefox, Anime, Mac
In: Browsers| Mozilla| Web development
25 Nov 2009A mini-tip on viewing images quickly in a new tab in Firefox. Useful for web devs who want to look at the URL of an image quickly.
As an example, here’s the Youtube webpage of the owner of Maru the Cat:
To open the thumbnail image of Maru in a new tab, right-click the image, and then [...]
In: Ruby| Ruby on Rails| Web development
22 Apr 2008If you’ve ever used ActiveResource or for that matter, coded anything that involves interacting with a remote API, you’ve probably had the misfortune of having that API go down or become unresponsive. The experienced old geezers would already have forseen the problem and set a timeout on those API calls. For the rest of us, [...]
You may not have noticed this yet, but Rails 2.0 has a new convenient syntax for generating ActiveRecord migrations. Go ahead, run the migration generator with script/generate migration. I’ll wait.
Yup, you can now specify the columns you want to add in your migration by passing attribute/type pairs to the migration generator. Ergo,
script/generate migration AddMoreToAnime episodes:integer [...]
I don’t think I need to explain how concatenating your 5 stylesheets and 12 JavaScript files into single files each makes your webpages load faster. Unless you’re using multiple asset hosts (Rails 2 allows for multiple asset hosts), then it becomes tricky to say for sure which method is better, but I digress.
There’re a bunch [...]
Firefox 3 Beta 1 is out! Check out the pretty sweet list of changes.
If you want to try it, you’ll probably want to run Firefox 3 and Firefox 2 at the same time. Only this time you should remember to rename Firefox 3 so that it doesn’t override your install of Firefox 2.
I’d blogged about [...]