method

time?

rails latest stable - Class: TestUnit::Generators::ScaffoldGenerator

Method not available on this version

This method is only available on newer versions. The first available version (v7.2.3) is shown here.

time?(name)
private

No documentation available.

# File railties/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb, line 76
        def time?(name)
          attribute = attributes.find { |attr| attr.name == name }
          attribute&.type == :time
        end