
Untitled
By: a guest on
Nov 14th, 2012 | syntax:
None | size: 0.53 KB | hits: 19 | expires: Never
<div class="field">
<%= f.label question.question %><br />
....
select question from questions where "id"=1;
question
----------------------------------
What is 2+3. What is the answer?
(1 row)
what is the answer?
ruby-1.9.2-p290 :006 > helper.label_tag "All Caps String"
=> "<label for="All_Caps_String">All caps string</label>"
ruby-1.9.2-p290 :007 > helper.label_tag "All Caps String", "All Caps String"
=> "<label for="All_Caps_String">All Caps String</label>
<%= f.label question.question, question.question %>