method

dangerous_name?

Importance_0
v7.1.3.4 - Show latest stable - 0 notes - Class: Rails::Generators::GeneratedAttribute
dangerous_name?(name) public

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/generated_attribute.rb, line 67
        def dangerous_name?(name)
          defined?(ActiveRecord::Base) &&
            ActiveRecord::Base.dangerous_attribute_method?(name)
        end
Register or log in to add new notes.