diff --git a/app/views/beers/_beer_form.rhtml b/app/views/beers/_beer_form.rhtml index c8fb9fb..de4fa93 100644 --- a/app/views/beers/_beer_form.rhtml +++ b/app/views/beers/_beer_form.rhtml @@ -11,7 +11,7 @@ <%= text_field 'beer', 'final_gravity' %>
- <%= select 'beer', 'style_id', Style.for_select, { :selected => @beer.style_id } %> + <%= select 'beer', 'style_id', Style.for_select, { :selected => @beer.style_id.to_s } %>
<%= text_field_with_auto_complete('brewery', 'title', {}, { :url => { :controller => 'autocomplete', :action => 'index' } }) %>