Hey, kedar. Actually, it should work with just plain <%
f.input :timed, :as=> :boolean %> if timed is an attribute of some
model. For example:
<%= simple_form_for(@product) do |f| %>
<%= f.input :timed, :as=> :boolean %>
<%= f.submit %>
<% end %>
class Product < ActiveRecord::Base
attr_accessor :timed
end
so if you set @product.timed = true in your controller your checkbox
will be checked.