Displaying 3 results from an estimated 3 matches for "teaspoon".
2006 Apr 18
12
Formatting data drawn from a DB
Question for all:
Right now i have a Table in a mySQL DB that has a row called
Ingredients. When the data is entered into the DB its enter like so
from a text area:
1 1/2 lbs. beef top sirloin, thinly sliced
1/3 cup white sugar
1/3 cup rice wine vinegar
2 tablespoons frozen OJ concentrate
1 teaspoon salt
1 tablespoon soy sauce
1 cup long grain rice
2 cups water
1/4 cup cornstarch
2 teaspoons orange zest
3 tablespoons grated fresh ginger
1 1/2 tablespoons minced garlic
2 cups oil for frying
but when I draw it out of the DB and display it on the page it shows up
like:
1 1/2 lbs. beef top sirl...
2002 Jul 02
0
Newsletter & Rigatoni Salad Recipe
2010 Jul 06
4
how to make confirm boxes conditional?
Hi,
I''d like to make the :confirm option in my link_to/button_to erb
elements conditional. So, if the page is in some state, no
confirmation is requested, but not otherwise, etc.
So far, my only (ugly) approach is to replace the linker html itself
depending on changes in state, but I believe there must be an easier
way to ''toggle'' the confirmation option on/off.
Can