Questions tagged [objectid]

The ID of an object. This is used, among other reasons, to refer back to the object at a later time in the program

Used especially in web programming where space on the stack is limited, objectids are used to refer to objects at different parts of the program, and possibly even across different user sessions, if some marshalling is implemented (as databases, etc).

The ID of an object can also be used to determine if two objects are distinct instances or are indeed the same object, in which case, any modifications made on one would be reflected in the other as well

481 questions
-2
votes
1 answer

Can you get database id from an object's object_id in Rails?

Here's my problem: I have a Rails project with two models, People and Credits, and a person has many credits. I only have access to the front-end. I don't have access to the source code, console, or database, but I can see a list of people and a…
n_i_c_k
  • 1,504
  • 10
  • 18
1 2 3
32
33