Never been to TextSnippets before?

Snippets is a public source code repository. Easily build up your personal collection of code snippets, categorize them with tags / keywords, and share them with the world (or not, you can keep them private!)

About this user

« Newer Snippets
Older Snippets »
2 total  XML / RSS feed 

Find last article

Add this to your Article model (or whatever you name it) to get the last published article on your site.

def Article.find_last
  Article.find(:first, :order => "created_at DESC")
end

Medge's Bean Chili

A really hot one and best served with corn chips! Found it in Open Source Cookbook in my favorite recipe organizer.
Haven't tried it with the dry white wine yet :P

INGREDIENTS
2 large onions, diced
1 tsp   minced garlic
1 tsp   minced ginger
1 whole red bell pepper, diced
1 tbsp  basil leaves
1 tbsp  mixed herbs
1 can    (10 oz) tomatoes
1 can    (10-14 oz) kidney beans, drained


DIRECTIONS
1. Fry peppers, garlic, and onions in a sauté pan until the onions begin to turn soft. 
2. Add tomatoes (with juice), beans, and herbs.
3. Reduce heat, and simmer for at least 30 mins (more is better)
4. Serve with rice, yogurt, and corn chips (or all of these), and Alacante, any clear dry white wine, or even frontinac.
« Newer Snippets
Older Snippets »
2 total  XML / RSS feed