object_id option not operating as expected
MadBomber opened this issue · 0 comments
The object_id option is not doing what I expect so either there is a software problem or a wetware problem.
What I'm trying to do is get rid of the object id of an ActiveRecord object when using the ap
method.
Software Versions:
Awesome ... 1.9.2
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