Tag Archives: time_select

Simple Time Select for Ruby On Rails Just Got Simpler

I added a start_hour and end_hour feature to my simple time select. Here are the details from the README: Simple time select also takes a start_hour and end_hour option to be specified in military format (between 0-23). <%= time_select "event", "time", { :default => Time.now.change(:hour => 21), :simple_time_select => true, :minute_interval => 20, :time_separator => "", [...]
Posted in Software | Also tagged , , | Comments closed

The best time_select plugin for Ruby On Rails!

In some cases, the Ruby on Rails time_select helper is much uglier than it needs to be. It spits out 3 select boxes for the hour, minutes, and seconds. Your users do not always need accuracy to the minute. For example, you do not schedule doctor’s appointments for 3:13PM. You would at least [...]
Posted in Software | Also tagged , , , , | Comments closed