method

reference?

Importance_0
reference?(type) 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 36
        def reference?(type)
          [:references, :belongs_to].include? type
        end
Register or log in to add new notes.