Running Mephisto-trunk on Rails 2.0 preview
October 28th, 2007
In a mission to get Sven Fuch's Mephisto plugin Tag Cloud working, I decided to upgrate to Mephisto-trunk (revision 3005). Ultimately it was successful (this blog is now being served by the Mephisto-trunk), but here are some things you should know...
Read the rest of this entryBehaviour-driven database ORM with RSpec stories
October 27th, 2007
Now, it is a widely known fact, among possibly half of my six subscribers, that I'm working on an ORM and database migration package for Rubyists that will kick ActiveRecord into the floor. Not that I don't have some respect for the library - it has, after all, seriously raised the bar in terms of user (ie webapp developer) simplicity. But it suffers some serious architectural faults, and has begun to outgrow the spirit of the ActiveRecord pattern (obligatory Fowler link). I am not the only person who thinks so either, some people such as Matthew at PlayLouder are far more frustrated than me.
Read the rest of this entryDoes your Facebook look anything like this?
October 22nd, 2007
Seeing as it's the theme for today...
Nothing like a good dose of cynicism. No idea where it came from. I'm pretty sure it's not a screenshot of my profile, but I'd be hard pushed to tell it apart.
Oh, and is it me, or is that Jennifer Aniston on the left, taking a different sort of modelling contract?
Swear to the world with Ruby and Adium
October 22nd, 2007
WARNING: the following post is not suitable for anyone who has left high school, unless (like me maybe) your sense of humour didn't
Read the rest of this entryStay up-to-date with RSpec trunk - gem and TextMate
October 21st, 2007
Here is a simple bash script I use to get the latest RSpec gem and update the TextMate bundle:
Read the rest of this entryQuick and dirty facets in RSpec trunk
October 21st, 2007
After a discussion today on rspec-users, I confirmed that it would be nice if you could structure specs like this, to break your behaviour descriptions down into related groups:
1 2 3 4 5 6 7 8 9 10 11 |
describe MyClass do facet "my_method" do it "should do this" facet "some stuff" do it "should do that" end end it "should do the other" end |
Code highlighting in Mephisto
October 16th, 2007
I assumed this would be really obvious but I had to scour the internet to find instructions.
I wanted to use the included server side highlighting, as described on the Mephisto wiki. It turns out, though, that the correct tag is "filter:code", eg:
Read the rest of this entry