Feeds:
Posts
Comments

Posts Tagged ‘ruby on rails’

We came up with a nice issue at work last week, we needed / to be a resource. Unfortunately, you can’t really do that easily, and when you use the :as option, well, it doesn’t really work Me and Alexis came up with the “Awesome patch” : # Awesome Patch # This enables the ‘/’ [...]

Read Full Post »

Maybe you would like to exit your IRB elegantly once in a while. I’ve got the perfect solution: def elegant_quit eval(['e', 'x', 'i', 't'].join) end In a nice IRB, the result is perfect clabesse@barney:~ clabesse$ irb >> def elegant_quit >> eval(['e', 'x', 'i', 't'].join) >> end => nil >> elegant_quit clabesse@barney:~ clabesse$ Simply Brilliant.

Read Full Post »

  I’ve been dreaming about this topic for ages and never made it. Well here it is, the Snippet of the Day ! Each day (or I hope), I’ll be giving out a bit of code just for fun, or for real interesting work stuff … I’m waiting for your comments Alexis !   We [...]

Read Full Post »

Follow

Get every new post delivered to your Inbox.