Archive for the ‘ruby’ Category

I've seen a lot of people out there looking for a good IDE for doing Django work. Personally I'm a pydev guy. I have been using Eclipse for so long for everything else it's very natural to keep on that path. However there are definitely other alternatives...

I wrote this the other day. Thought someone might find it useful. Will let you do a POST request from a link. Good for delete buttons, since we all know your not supposed to let users delete things from a get request... right?! ;) Basically it takes...

Here is a graph I generated from trendrr.com to show how many search results google blogs returns for ruby vs python. It makes me happy on the inside to see them so neck and...

autoCreated ajax ext dialog

August 12, 2007 | In: ruby, tutorials

Here is a tidbit that will autoCreate an ExtJs BasicDialog populated by a partial returned from an AJAX call to a rails controller action. In your js function loadDialog(){ var cb = { success: showDialog, failure: displayError }; ...

3 helpfull functions

August 11, 2007 | In: ruby, tutorials

These are a few functions that I use in every rails project I do so I figured I would pass them along. Perhaps someone will find them useful. This first one is a function to get a page number for pagination based on start index and result set size. ...

Here is a simple chunk of code that I find very useful when working with multiple objects in one form that leverage the Rails model validation functions. In this example we see how to merge validation errors for more then one object so they can be...

Flickr Pics

13th and washington NYC13th and 9th NYC1st st Jersey CityIMG_2813IMG_2814_2IMG_2816IMG_2815Photo_011908_001Photo_122807_001Photo_121107_001