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 127
      def foreign_key?
        name.end_with?("_id")
      end
Register or log in to add new notes.