instance method weekday_select

Ruby on Rails 7.0.10

Since v7.0.10

Available in: v7.0.10 v7.1.6 v7.2.3 v8.0.4 v8.1.2

Signature

weekday_select(object, method, options = {}, html_options = {}, &block)

Returns select and option tags for the given object and method, using weekday_options_for_select to generate the list of option tags.

Parameters

object req
method req
options opt = {}
html_options opt = {}
block block
Source
# File actionview/lib/action_view/helpers/form_options_helper.rb, line 297
      def weekday_select(object, method, options = {}, html_options = {}, &block)
        Tags::WeekdaySelect.new(object, method, self, options, html_options, &block).render
      end

Defined in actionview/lib/action_view/helpers/form_options_helper.rb line 297 · View on GitHub · Improve this page · Find usages on GitHub

Defined in ActionView::Helpers::FormOptionsHelper

Type at least 2 characters to search.

↑↓ navigate · open · esc close