SHARE
TWEET

Untitled

a guest Nov 14th, 2012 19 Never
  1. <div class="field">
  2. <%= f.label question.question %><br />
  3. ....
  4.        
  5. select question from questions where "id"=1;
  6. question
  7. ----------------------------------
  8.  What is 2+3. What is the answer?
  9. (1 row)
  10.        
  11. what is the answer?
  12.        
  13. ruby-1.9.2-p290 :006 > helper.label_tag "All Caps String"
  14.  => "<label for="All_Caps_String">All caps string</label>"
  15.        
  16. ruby-1.9.2-p290 :007 > helper.label_tag "All Caps String", "All Caps String"
  17.  => "<label for="All_Caps_String">All Caps String</label>
  18.        
  19. <%= f.label question.question, question.question %>
RAW Paste Data
Top