Flowdock
method

foreign_key?

Importance_0
Ruby on Rails latest stable (v6.1.7.7) - 0 notes - Class: Rails::Generators::GeneratedAttribute
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.