Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for treadmill (0.07 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/named_polymorphic_test.go

    		Name: "treadmill 2",
    	})
    
    	hamsterToy = Toy{}
    	DB.Model(&hamster).Association("PreferredToy").Find(&hamsterToy)
    	if hamsterToy.Name != "bike 2" {
    		t.Errorf("Should update has one polymorphic association with Append")
    	}
    
    	hamsterToy = Toy{}
    	DB.Model(&hamster).Association("OtherToy").Find(&hamsterToy)
    	if hamsterToy.Name != "treadmill 2" {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Wed Jul 08 09:59:40 GMT 2020
    - 4.2K bytes
    - Click Count (0)
Back to Top