SitePoint Sponsor

User Tag List

Results 1 to 5 of 5

Threaded View

  1. #1
    SitePoint Zealot
    Join Date
    May 2007
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    SOLVED - dynamic select values

    Hello, I have a view with a select
    Code:
    <%= form.select :rank, ... %>
    and I would like the showed options were 1 to 10 without the already taken values. For instance if it is already present a priority with rank = 4 the showed options must be 1,2,3,5,6,7,8,9,10

    Is there a simple rails way to do that ???

    Thanks
    Last edited by macsig; Feb 6, 2008 at 17:21. Reason: SOLVED
    Alla prossima ...


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •