Module: Ccls::ActionViewExtension::FormBuilder::InstanceMethods
- Defined in:
- lib/ccls_engine/action_view_extension/form_builder.rb
Instance Method Summary collapse
- #adna_select(method, options = {}, html_options = {}) ⇒ Object
-
#yndk_select(method, options = {}, html_options = {}) ⇒ Object
NOTE calling <%= f.wrapped_yndk_select :code %> will NOT call these methods.
- #ynodk_select(method, options = {}, html_options = {}) ⇒ Object
- #ynrdk_select(method, options = {}, html_options = {}) ⇒ Object
Instance Method Details
#adna_select(method, options = {}, html_options = {}) ⇒ Object
30 31 32 33 |
# File 'lib/ccls_engine/action_view_extension/form_builder.rb', line 30 def adna_select(method,={},={}) @template.select(object_name, method, ADNA., {:include_blank => true}.merge(()), ) end |
#yndk_select(method, options = {}, html_options = {}) ⇒ Object
NOTE calling <%= f.wrapped_yndk_select :code %> will NOT call these methods. It will call the method missing and then the @template.method Actually, now I believe that it will.
15 16 17 18 |
# File 'lib/ccls_engine/action_view_extension/form_builder.rb', line 15 def yndk_select(method,={},={}) @template.select(object_name, method, YNDK., {:include_blank => true}.merge(()), ) end |
#ynodk_select(method, options = {}, html_options = {}) ⇒ Object
25 26 27 28 |
# File 'lib/ccls_engine/action_view_extension/form_builder.rb', line 25 def ynodk_select(method,={},={}) @template.select(object_name, method, YNODK., {:include_blank => true}.merge(()), ) end |
#ynrdk_select(method, options = {}, html_options = {}) ⇒ Object
20 21 22 23 |
# File 'lib/ccls_engine/action_view_extension/form_builder.rb', line 20 def ynrdk_select(method,={},={}) @template.select(object_name, method, YNRDK., {:include_blank => true}.merge(()), ) end |