activity_notification icon indicating copy to clipboard operation
activity_notification copied to clipboard

Rename subscriptions association to notification_subscriptions

Open apuntovanini opened this issue 4 years ago • 0 comments

Issue #161:

Summary

Changed default association name between notification and subscriptions into has_many :notification_subscriptions from has_many :subscriptions in order to avoid name clashes.

Other Information

I tried to make the association name configurable, but could't kind a proper way. Notification_subscriptions is opinionated just like subscription was, but I think it's a better default (every SaaS would have a subscription.rb model for instance that would clash with this)

apuntovanini avatar Jan 01 '22 22:01 apuntovanini