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
We need backrefs from Event, and classes that extend from Events, to User so we can reference all associated Events with a user. For example:
user.eventsuser.work_events
Then update all places where we are querying for this information. This will make our code easier to read and to write (no more querying for something so common).
For more information see first comment here.
Edit: On second thought, let's not create a backref from Event, only the classes that extend from it.
The text was updated successfully, but these errors were encountered:
We need backrefs from Event, and classes that extend from Events, to User so we can reference all associated Events with a user. For example:
Then update all places where we are querying for this information. This will make our code easier to read and to write (no more querying for something so common).
For more information see first comment here.
Edit: On second thought, let's not create a backref from Event, only the classes that extend from it.
The text was updated successfully, but these errors were encountered: