Archives for ruby

a different DRM

I finally snuck Rails under the radar at work (in an unholy union with mod_perl – it’s been interesting) and needed to get up to date quickly. Thought I’d go for the AWDWROR Beta Book -
passed on the Book + PDF combo for a few reasons

I fancied saving a few trees
it was a lot cheaper [...]

typo 2.6.0 -> 4.0.3

Now that the dust has settled a little , I thought it was time to upgrade the blog to 4.0.x.
I was running typo 2.6.0 with rails frozen at 1.0.0 , so to be honest I was expecting trouble. WEBrick ran so fast on my dummy run I thought it was worth the risk.
If you’re thinking [...]

and she blew, blew, blew, blew, blew

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 [...]