You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This object formatter is only used when a specialized formatter doesn't match the object, raw: true is set, and the object has at least one instance variable.
The object_id option is not doing what I expect so either there is a software problem or a wetware problem.
Software Versions:
Amazing ... 1.4.0
Ruby ...... 3.0.1p64
Rails ..... 6.1.3
Running the Rails Console/Irb ....
irb(main):002:0> c = Clinician.first
Clinician Load (1.1ms) SELECT "clinicians".* FROM "clinicians" ORDER BY "clinicians"."id" ASC LIMIT $1 [["LIMIT", 1]]
=>
#<Clinician:0x000000012838e2c0
irb(main):003:0> ap c
I want to get rid of this object ID
vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
#Clinician:0x000000012838e2c0 {
}
=> nil
irb(main):004:0> ap c, object_id: false
but it is still here ....
#Clinician:0x000000012838e2c0 {
}
=> nil
irb(main):005:0> ap c, object_id: true
but it is still here ...
#Clinician:0x000000012838e2c0 {
}
=> nil
irb(main):006:0> defined? AmazingPrint
=> "constant"
irb(main):007:0> defined? AwesomePrint
=> nil
The same thing happens if I use Awesome.
The text was updated successfully, but these errors were encountered: