lib/notification_renderer/notification_scopes.rb in notification-renderer-1.2.2 vs lib/notification_renderer/notification_scopes.rb in notification-renderer-1.2.3
- old
+ new
@@ -4,14 +4,10 @@
module NotificationRenderer
module NotificationScopes
extend ActiveSupport::Concern
- included do
- include NotificationRenderer::NotificationScopes::InstanceMethods
- end
-
- module InstanceMethods
+ module ClassMethods
def method_missing m, *args
if m.to_s[/(.+)_type/]
where type: $1.singularize.classify
else