11 posts in this blog since Jul 30 2009, 06:39 PM

:Finder Sql

Easy and simple use of the finder when for some reason (...) you need to keep your tables ultra-dry!

  published on Dec 23 2009, 12:43 AM in Ruby Notes - comments

Heroku Cname Entry Valid?

So my Rails application manages SaaS integrations into an application on heroku and I want to be able to give the green light on operations when a client's CNAME propagates and the service becomes usable.
The client at website.ext will ask to integrate our service at service.website.ext, url that we'll call 'landing page':

  published on Dec 22 2009, 11:24 PM in Ruby Notes - comments

My Monkey Patch To Mongrel

  published on Nov 11 2009, 06:12 PM in Ruby Notes - comments

Serving Java Script Templates With Sinatra And Erb

More experiments with the app at http://headcounters.com make me think this DSL is really right, it always and only does what you need and you would expect.



Why? To embed dynamic content into static pages..



  published on Nov 11 2009, 03:45 AM in Ruby Notes - comments

Double Check That A Critical Task Returned False

When dealing with transactions and other critical calls to third-party APIs you may want to check twice (or more) if a method really returned false. Try again, maybe the API was down, the connection failed..

This is my interpretation:

  published on Nov 09 2009, 04:57 PM in Ruby Notes - comments
*