Archive for the ‘My Projects’ Category

Stairs are now done, finally!

Posted on the November 16th, 2009 under Levittown, My Projects, house by John Burmeister

These stairs are finally done.  First was the endless sanding, then the staining and polyurethane.  I put off painting the risers and sides because its a nightmare to prep, plus I had other projects from “The List” to get done.  I went through a roll of tape just getting everything ready before painting.  Primed with a good primer, then hit it with a semi gloss white from Benjamin moore.  (I went with the semi gloss because of durability, I used this on all my moldings and doors)

Anyways, here are some pics.  The flash from the camera makes it seem more shiny then it actually is, I think it came out pretty good.

IMG_0063

IMG_0066

IMG_0061

Some pics of the Mustang all cleaned up and ashtray switches installed…

Posted on the August 8th, 2009 under Interesting, Levittown, My Projects, long island, mustang by John Burmeister

Here are some pics from a few weeks ago when she was all cleaned up.   The stang looks a lot better via photos then in person, but hey… What do you expect for 23+ year old paint?!?! Other pics are for the new switch console I added to the ashtray.  These switches control my Fan, Shift Light, and gauges.   Heading to Englishtown,NJ this weekend for the big Muscle Mustang & Fast Fords Event.  More info on the event here: http://www.etownraceway.com/schedule/fords.aspx It should be fun!

IMG_9409

IMG_9403

IMG_9412

Some pics of the control panel installed in the ashtray, sorry crappy pics, took it with my iPhone.

mustang ash tray

mustang ash tray

Quick Ruby On Rails Tip for Nested Resources

Posted on the November 1st, 2008 under My Projects, Remodeling, Ruby on Rails by John Burmeister

Just a quick tip for when you are doing nested resources….

In this example, I am building a app for a client where there is a recipient and they have many physicians. So I have a case where I have a nested resource. To keep thing DRY, I added this to my before filter where I get the recipient. This allows you to nuke the find in the show, edit, update and delete actions and retain the original use of @physician.

def get_recipient
  @recipient = Recipient.find(params[:recipient_id])
  # DRYs her up a little so you don't have a find in the show,edit,update and delete actions
  @physician = @recipient.physicians.find(params[:id]) if params[:id]
end

Don’t forget to modify your index find, change it to reflect the nested route… In my case:

    @physicians = @recipient.physicians.find(:all)

Have any other useful tips? Let me know!