playing around with rails, don't laugh at my code