and she blew, blew, blew, blew, blew

Posted by Dick on October 26, 2005

In other news, The Queen of Changes has decided to punish my arrogance by bumping rails to 0.14.2 on textdrive.
If you get

undefined method `zero?' for true:TrueClass

on publishing, change
app/views/admin/content/show.rhtml:15 :

:s/@article.published.zero?/@article.published?/

which looks to me like something low level changed – either rails or ARs mysql adapter.
This time I checked trac properly and found it wasn’t just me .

Less trivially, Rails 0.14.1 b0rked live search on typo 2.5.6 – patchage has been almost instant, but sadly for trunk only.

I was wary of going to svn when I don’t control the version of the webapp database/webapp framework/OS/webserver it runs on.
But since Rails hasn’t solidified yet, you can’t be suprised at the occasional need to be able to tweak apps as it shifts underfoot.
With gems, you can always tie to a particular version if needed.

So anyway, if the blog suddenly vanishes you’ll know why.

new version

Posted by Dick on August 09, 2005

loving typo 2.5.

Especially loving migrations
( They don’t work with sqlite yet, so I had to convert the old db to mysql before being able to use them, but nothing too scary)

Interestingly, most of the goodness is in the admin screens, rather than the public parts? ‘By Railers, for Railers’, I suppose :)

Still some minor niggles with mod_proxy and how it constructs absolute urls to the wrong place, but that’s probably fixable after some sleep.

( Surely you’re joking, Mr. Feynman? just finished downloading from Audible, so I’m off to bed. Assuming the baby has got over her insomnia, I should get the kinks out of the blog tomorrow.)