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
object false
child @chat_groups, root: :chat_groups, object_root: false do
child :messages, root: :messages, object_root: false do
attributes :id
end
end
The text was updated successfully, but these errors were encountered:
ChatGroup has many Messages.
I want to limit messages limit to 40.
if use above snippet, all messages will send.
But I don't know how to limit messages.
I want to limit child amount.
The text was updated successfully, but these errors were encountered: