ruby on rails - ActionView::Template::Error (undefined method `map' for #<GuestServer:0x00000006a46ae0>): -


i got error

 actionview::template::error (undefined method `map' #):      8:         9:         10:        11:        12:         13:        14:      'btn-primary' %>   app/views/guest_servers/_form.html.erb:11:in `block in _app_views_guest_servers__form_html_erb___3580975132148204073_44804260'   app/views/guest_servers/_form.html.erb:1:in `_app_views_guest_servers__form_html_erb___3580975132148204073_44804260'   app/views/guest_servers/new.html.erb:5:in `_app_views_guest_servers_new_html_erb___2287482652647252833_55765520'  

when add line of code

<pre>   <%= select_tag "sippeer_type", options_from_collection_for_select(@guest_server, "id", "name") %> </pre> 


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -