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!
Here is how our kitchen and dining room came out.


This is the buffet table we did in the dining room, we did a glass tile counter top for it
b/c of the leftover tile from the backsplash in the kitchen.

This is the guest room I just (almost) finished yesterday,
just need a bed frame and some other stuff..


The next project, the pond, got my rocks yesterday… Loaded down my truck and my dads. PA Flag stone.

My other project I am working on, the garage! To many projects, not enough time…

Eventually I’d like to do a nice garage tile floor and finish rocking the garage. Garage has its own zone of heat too.

Here are some new pictures of the outside, the grass is coming in really good. I just finished putting down some fertilizer / grub and insect killer. Central Air unit / install is going to happen this Tuesday, I am excited! We ran the 40 Amp line outside into a waterproof box with a cut off and the whip is ready for the Unit install. I also ran an extra 20 amp line outside for some low voltage lighting and eventually a pond pump into its own small waterproof box. I was able to score a free pond pump and pond insert, I am not sure how big it is, but its free!
Front Yard


Back Yard

