Flowdock
method

foreign_key?

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