Methods

Instance Public methods

belongs_to(*args, **options)

Alias for: references

references(*args, **options)

Also aliased as: belongs_to
📝 Source code
# File activerecord/lib/active_record/connection_adapters/sqlite3/schema_definitions.rb, line 7
        def references(*args, **options)
          super(*args, type: :integer, **options)
        end
🔎 See on GitHub