Source: show | on GitHub
# File actionpack/lib/action_view/helpers/tags/checkable.rb, line 5 def input_checked?(object, options) if options.has_key?("checked") checked = options.delete "checked" checked == true || checked == "checked" else checked?(value(object)) end end