[Rails] Re: "Not Selected"-dropdown-list-option

2012-10-06 Thread DONEIN NET
I am having a similar issue. I figured out to add a blank item to the top of the list. But then when I go back in to edit mode, it gets upset because it doesn't exist in the collection. -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the

[Rails] Re: New To Rails

2012-10-02 Thread DONEIN NET
I have now ran into another issue. I have a field like this on my _form.html page: <%= f.collection_select :address_region, Admin::Region.order(:region), :id, :region, :include_blank => true %> This works fine, but if I don't select a value (which is okay) I can not later edit the record. If

[Rails] Re: New To Rails

2012-09-25 Thread DONEIN NET
Walter Davis wrote in post #1077557: > On Sep 25, 2012, at 6:44 PM, DONEIN NET wrote: > >> 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 countri

[Rails] New To Rails

2012-09-25 Thread DONEIN NET
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.): admin/companies admin/regions admin/countries I am going back and editing the scaffolded screens. I need to know how to add a dropdown list to the admin\