Silkandspinach - silkandspinach.net - silk and spinach

Latest News:

Query actions in Rails controllers 14 May 2013 | 08:04 pm

Recently some of my controller actions have taken on a definite new shape. Particularly when the action is a read-only query of the app’s state. Such actions tend to make up the bulk of my apps, and t...

Why shorter methods are better 30 Jan 2013 | 07:40 pm

TL;DR Longer methods are more likely to need to change when the application changes. The Longer Story Shorter methods protect my investment in the code, in a number of ways. First: Testability. I expe...

A testing strategy 18 Jan 2013 | 08:51 pm

The blog post Cucumber and Full Stack Testing by @tooky sparked a very interesting Twitter conversation, during the course of which I realised I had fairly clear views on what tests to write for a web...

I’m growing a mo 4 Nov 2012 | 05:30 pm

Two years ago the fantastic staff at Macclesfield hospital saved my life. To cut a long story short, my colon burst due to diverticular disease; Mr Khan and Mr Hadjiloucas correctly diagnosed it and o...

The problem with code smells 3 Sep 2012 | 01:41 pm

Like most developers I know, I have used code smells to describe problems in code since I first heard about them. The idea was introduced by Kent Beck in Fowler’s Refactoring back in 1999, and has tak...

Hexagonal rails: Rake tasks are adapters 11 Jul 2012 | 11:53 pm

If I’m thinking about my Rails app in terms of a hexagonal architecture , I find it also pays to consider every rake task to be an Adapter. Thus: Picture: @rosieemackenzie The true picture is a li...

Hexagonal rails: Hiding the finders 6 Jul 2012 | 10:30 pm

This is a brief follow-up to the Hexagonal Rails sessions I did last week at the Scottish Ruby Conference with Matt and Steve . We tried to cram a 3-day course into 45 minutes, with inevitable consequ...

The wrong duplication (reprise) 23 Dec 2011 | 11:56 pm

I came across this old post again today, and I still like what it has to say: The Wrong Duplication . Maybe I should add a code example…?

Global Day of Coderetreat 17 Nov 2011 | 01:43 am

In case you hadn’t noticed, XP-Manchester is running a Coderetreat as part of the Global Day of Coderetreat on December 3rd 2011 . You can find out everything you need to know by visiting our page o...

Ubuntu, mysql and rails 11 Nov 2011 | 01:16 am

I just upgraded my work laptop to Ubuntu Natty Narwhal, and then I found all my rails projects broken. Whenever I tried to run up a rails server, I got this: $ rails server => Booting WEBrick => Rai...

Related Keywords:

reek, ruby feature envy, daily standup point card, mentoring experience, system people proccess, silk algorithl, silktoc, second pair of eyes, feature envy' anti, dynamic modelling in uml

Recently parsed news:

Recent searches: