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
I prefere option "A", also, maybe explicitly override the "namespace" of the document which will sometimes differ from the class one, specially if we are using inheretance,
Currently, there are a couple of ways of achieving this, either by overriding the
id
method entirely, or by using a callback (e.g.before_save
).It'd be better if we could do something like:
Option A)
Option B)
It should work with either document
property
s or arbitrary instance methods.The text was updated successfully, but these errors were encountered: