Preheat the oven to 375 degrees. Spray a loaf pan with cooking spray. In a large bowl, combine the flour, sugar and beer. The batter should be really lumpy – do not over mix it! Spoon it into the loaf pan and pour the butter on top. Bake for about 45 minutes or until it gets all golden brown.