Topic: New To Rails

I am new to Ruby On Rails.

I have scaffolded a few screens for a website's administration pages. 

For example, right now I have (etc., etc.):


I am going back and editing the scaffolded screens.

I need to know how to add a dropdown list to the admin\regions\_form.html.erb page that would show the countries I have added using admin/countries/new.

Re: New To Rails

Try something like this

      <%=,{|c|["#{}. #{} - #{}",] } ) %>

See here for more details … elper.html

What you want and what you need are too often not the same thing!
When your head is hurting from trying to solve a problem, stop standing on it. When you are the right way up you will see the problem differently and you just might find the solution.
(Quote by me 15th July 2009)