method

foreign_key?

Importance_0
foreign_key?() 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 113
      def foreign_key?
        !!(name =~ /_id$/)
      end
Register or log in to add new notes.