Forum: Italian Ruby user group Helper Select

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
Dboz D. (Guest)
on 2009-06-08 14:40
Utilizzando l'helper select in questo modo

select("post", "category", Post::CATEGORIES, {:include_blank => true})


  <select name="post[category]">

Come devo utilizzare lo stesso helper per ottenere

  <select name="post[category]">
    <option value=""></option>
    <option value="0">joke</option>
    <option value="1">poem</option>
This topic is locked and can not be replied to.