Akelos Framework v1 forum archive. This forum is no longer maintained. To report bugs please visit https://github.com/akelos/akelos/issues
    •  
      CommentAuthorriffed
     

    Excuse my ignorance but what is the significance of the colon ":" before the options. I'm guessing it marks an array ?

    <%= select_year 2008, :start_year => 1900, :end_year => 2020 %>
    
    •  
      CommentAuthorbermi
     

    Just a shortcut for

    <%= select_year 2008, {'start_year' => 1900, 'end_year' => 2020} %>
    

    not symbols as in Ruby (yet :) )