method
reference?
v3.0.0 -
Show latest stable
- Class:
Rails::Generators::GeneratedAttribute
reference?()public
No documentation available.
# File railties/lib/rails/generators/generated_attribute.rb, line 45
def reference?
[ :references, :belongs_to ].include?(self.type)
end