Browsing the archives for the Uncategorized category

Comment Spam I’d Like to Use

WordPress comment spam almost worth saving to use on student papers if I were still teaching:
Comment:
Together with the whole thing that appears to be developing within this particular subject matter, many of your perspectives are rather refreshing. On the other hand, I appologize, because I can not subscribe to your entire plan, all be it [...]

No Comments
December 10, 2010 in Uncategorized

Firefox Extension Toolbarbutton CSS in Windows 7

Lesson learned today:
If you have a Firefox extension and you use the toolbarbutton element.
In Windows 7 you can only use list-style-image to style it. Background color, -moz-linear-gradient, and -moz-border radius don’t do anything, plus you get a special fancy hover effect.
I ended up converting the toolbarbutton tags to a tags and moving on with life. [...]

No Comments
October 15, 2010 in Uncategorized
Tagged , , ,

Instance variable not assigned in view

I just spent a few minutes in la-la-land trying to figure out when an instance variable assigned in the controller stopped showing up in the view, despite all evidence that it was getting set correctly in the controller.
The answer was that there were several conditions that would case an update action to render :action => [...]

No Comments
April 7, 2010 in Ruby on Rails, Uncategorized