September 2010
WebSequenceDiagrams.com - Create Sequence Diagrams... →
Create UML sequence diagrams on a napkin online!
Sep 29th
3 tags
RVM in MacVim
I’ve wanted to be able to use an RVM version of ruby in MacVIm for a very long time now but nothing’s happened. So I decided to put together my first vim plugin. RVM Ruby gives you a Ruby ex command that will let you all ruby from inside MacVim. Some changes and improvements that I can foresee implementing in the near future are: Using RVM internals to deduce the ruby path in...
Sep 26th
2 tags
Custom RESTful updates
I recently decided it was time to refactor some messy controllers and ended up coming up with a way of quickly breaking up some of the logic in our update actions. By supplying a parameter as part of the PUT request a custom update method can be used. That way a basic update, which probably just calls update_attributes will always be the default. But you can use custom redirects, render different...
Sep 25th
3 tags
Reek after Autotest
I added a hook to autotest this week that runs Reek after all of your tests. It’s not perfect because it can only run reek on every Ruby file in app/models, app/controllers and lib. If you want to use it just paste the code in to your .autotest file in either your home directory or your project directory.
Sep 25th
2 tags
Bundler and ZSH completion scripts
I’ve found myself furiously hacking ZSH completion scripts this afternoon. I wrote a pretty clean Bundler completion script a month or two ago but today managed to get `bundle exec` completion working properly as well! The completion script is included in my dotfiles which I keep on Github.
Sep 25th
1 note
3 tags
MacVim, Ruby and RVM
MacVim doesn’t support RVM. Not as far as I can tell having just built it from head using Homebrew. jgarciam: As you know rvm is great for keeping different versions of ruby on your system, and also is a great help with organizing your gems. Today maybe this is of public knowledge but I have found out that macvim will use the correct gemset and ruby version if you set the ruby version...
Sep 25th
June 2010
Really cool site with loads of iPhone walls… http://j.mp/cxK2TH
Jun 21st
Dry up your use of Factories in RSpecs with a little meta programming… http://j.mp/916Gr9
Jun 9th
coder.io: a link aggregator for developers →
Jun 9th
May 2010
May 26th
Rails: Convert a Ruby object (typically a Hash) in to a suitable string for use as GET params… http://j.mp/cWZPCt
May 26th
Rails: Using path_prefix within a route namespace removes the namespace from the URL. Unexpected but logical.
May 26th
Rails.vim: just discoved :AV, finally I can open a spec file in a vertical split without using :vsp, then :Rspec [some-path].
May 26th
May 25th
Fancy making your own Growl style? I had a play and pushed it today… http://j.mp/b4rs5m
May 24th
Monitor file size in Ruby with some Rails internals, benchmark, trap and unnecessary colour… http://j.mp/abbs99
May 20th
April 2010
Rain?! No thank you London.
Apr 30th
I love contributing to awesome open source projects! Even when it’s something small like this… http://j.mp/aUxR0o
Apr 30th
If you haven’t read it already take a look at Steve Jobs’ “Thoughts on Flash”… http://j.mp/buPkA6
Apr 29th
How to configure git to use MacVim as your mergetool… http://j.mp/agmf55
Apr 29th
Bored of having to bundle exec rake tasks to avoid reinitialisation of constants and stack level too deep failure. v0.9.24.
Apr 27th
Almost home and tucked up in bed. — at Stratford Rail Station http://gowal.la/c/EN5M
Apr 26th
RT @rachael2050: @jamesconroyfinn all the best for the wedding today. Try not to cry!
Apr 25th
RT @qrush: For some people, email just a way to share word documents as images. I don’t want to get emails from those people.
Apr 25th
Not far from — at Canary Wharf http://gowal.la/c/Equk
Apr 25th
I liked a YouTube video — Wait Till She Takes Her Shirt Off! http://youtu.be/8QxrTTgW5lY?a
Apr 24th
Sipping wine before tomorrows wedding — at Bedford Hotel http://gowal.la/s/66b5
Apr 22nd
RT @ginatrapani: Steve Jobs told Nike CEO: “Nike makes some beautiful products and some crap. Get rid of the crap.” #FastCo10
Apr 22nd
I love Bundler. I finally have a clean way to manage my commonly used gems across all of my Macs! http://j.mp/cFNeTd
Apr 22nd
Webkit desktop notifications… http://j.mp/c53qCi
Apr 21st
Just had a lovely meal with some of the family. — at Barbican Kitchen http://gowal.la/s/5NMs
Apr 21st
Missed my train becuase I couldn’t top up the oyster at my station and have to buy a YP railca — at Paddington Station http://gowal.la/s/6J9
Apr 21st
Stressful and expensive day of travelling. If it wasn’t for my brother’s wedding I’d just stay in London!
Apr 21st
Press Ctrl-Alt-Del to top up your oyster card. Seek assistance?! WTF?!! — at Devons Road http://gowal.la/s/2Epz
Apr 21st
Not far from home! — at Stratford Rail Station http://gowal.la/s/7M3
Apr 19th
I’m at Bow Church DLR in London http://gowal.la/s/2L7s
Apr 19th
October 2009
Cassetteboy vs Nick Griffin vs Question Time http://ff.im/-aqgDJ
Oct 24th
Cassetteboy remixes Nick Griffin. Great video. Some of the comments are horrifically ignorant and disturbing though. http://j.mp/3NF4Dt
Oct 24th
RT @feather: Looks like the BlackBerry is going to get a WebKit based browser: http://bit.ly/AKfQb
Oct 23rd
» “foo bar man choo”.words => [“foo”, “bar”, “man”, “choo”]
Oct 23rd
RT @Hicksdesign: Britain does not have an indigenous people Griffin, we’re a mongrel nation
Oct 22nd
Am I worth the pain? Possibly. http://j.mp/2kMTe7
Oct 22nd
Break a leg @jamierumbelow.
Oct 22nd
Patching pg gem http://j.mp/6i3jL
Oct 22nd
Windows 7 is gonna suck as bad as Vista. Try innovating Microsoft.
Oct 22nd
#win7 is overpriced!
Oct 22nd
Layouts [pic] http://ff.im/-aeUAq
Oct 21st
Ruby love… ZippyHash http://bit.ly/48dPUp
Oct 21st
Oct 21st
Love this song… John Mayer – The Heart of Life (Spotify: http://j.mp/4qpsCY)
Oct 21st