<commit_before>module AwesomeForm
  module Methods
    module Rendering
      def render_method(name)
        plural = name.to_s.pluralize

        class_eval <<-RUBY, __FILE__, __LINE__+1

          def #{plural}(*args, &block)
            keys, options = filter_arguments(*args)
            keys = send("default_keys_for_#{plural}") if keys.empty?
<commit_msg>fix($core): inputs and actions with block no longer use default keys<commit_after>module AwesomeForm
  module Methods
    module Rendering
      def render_method(name)
        plural = name.to_s.pluralize

        class_eval <<-RUBY, __FILE__, __LINE__+1

          def #{plural}(*args, &block)
            keys, options = filter_arguments(*args)
            keys = send("default_keys_for_#{plural}") if keys.empty? && !block_given?

{'fraction_non_alphanumeric': 0.10301507537688442, 'fraction_numerical': 0.002512562814070352, 'mean_word_length': 2.9261083743842367, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4922772', 'n_tokens_mistral': 247, 'n_tokens_neox': 239, 'n_words': 59}