Posts Tagged ‘ruby’

TabsOnRails 2.0.0

February 8th, 2011 at 11:56 am • permalink0 comments

TabsOnRails 2.0.0 is now available. This release targets Rails 3.0 and is no longer compatible con Rails 2.3.x.

How to restart God when you deploy a new release via Capistrano

February 7th, 2011 at 1:37 pm • permalink10 comments

How to restart God monitored processes when you deploy a new Rails release via Capistrano.

Get the currently described class in RSpec

December 22nd, 2010 at 4:18 pm • permalink1 comment

How to get the currently described class in RSpec.

Introducing Public Suffix Service 0.5.0

September 15th, 2010 at 9:56 pm • permalink0 comments

An introduction to Public Suffix Service 0.5.0, the new release of the domain name Ruby parser based on the Public Suffix List.

Upgrading to Rails 3: Beware of the Object#tap pattern

September 2nd, 2010 at 2:23 pm • permalink2 comments

The advent of Object#returning first, and Object#tap consequently, quickly lead to a very common and elegant pattern in the Rails community to scope a variable to a block in your template code. Here’s a simple .erb file. <% “Simone”.tap |string| %> Hello, <%= string %>. <% end %> Once executed, in Rails 2.3 the template [...]

Follow Me
    Random Quote