Just to be clear this is not a quick recipe. I usually only make these on days that I have a lot of time that I know that I will be spending at home- and today since I am packing to come back to Portland seemed like a good day to make beans. You can easily adapt this recipe to make them hotter or whatever you like, you could also us this with black beans.
2 C dry pinto beans
1/2- 1 onion, chopped
3-4 cloves garlic, minced
3 bay leaves
1 tsp dried oregano
2 dried chili peppers (ancho chilies or other dried or fresh chilies will work)
2 tsp salt
2 C veggie broth

Boilin' beans
Saute the chopped onions in a little oil, until almost translucent and then add the beans and cook dry for a couple minutes. Pour in the veggie broth and then add the oregano, garlic and bay leaves. If you want your beans spicy leave the seeds in the chilies, if not break them open and remove the seeds (more seeds=more heat). Bring to a boil and then cover and turn the heat to low, simmer until beans are tender, about 3-4 hours. During this time make sure you are checking them every 30 minutes or so and if they need more water or are looking dry just ad 1/2 C of water and stir.
When they are soft then you get to decide if you want to smash them or leave them whole- they are good either way. I just use a potato masher and that gets the job done, just be sure to take out the bay leaves before you do this.