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
In some cases, embedded documents need to be uniquely identified or guaranteed unique among their siblings. This would be easier to do if there were an association that stores them as a Hash rather than an Array. The association proxy could add appropriate bracket accessors as well.
The text was updated successfully, but these errors were encountered:
Actually, wouldn't Set be most appropriate? The Hash only makes sense to me if you want the association proxy to allow users to access embedded docs by the hash key.
In some cases, embedded documents need to be uniquely identified or guaranteed unique among their siblings. This would be easier to do if there were an association that stores them as a
Hash
rather than anArray
. The association proxy could add appropriate bracket accessors as well.The text was updated successfully, but these errors were encountered: