Simple Rails Questions


#1

Hi, I have a couple of questions in regards to editing new.rhtml.

  1. How to change one of the text field to a dropdownlist that contains
    “friend” and “family”?

  2. How to expand year range from 1900 to the current year?

Thanks in advance,

-Conrad


#2
  1. Use form helpers to make a dropdown
  2. Use form helpers to make a dropdown
  3. Read http://evolt.org/node/60287