method

boolean?

Importance_0
v5.2.3 - Show latest stable - 0 notes - Class: TestUnit::Generators::ScaffoldGenerator
boolean?(name) private

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Hide source
# File railties/lib/rails/generators/test_unit/scaffold/scaffold_generator.rb, line 58
        def boolean?(name)
          attribute = attributes.find { |attr| attr.name == name }
          attribute && attribute.type == :boolean
        end
Register or log in to add new notes.