lib/generators/templates/models/README in activity_notification-2.0.0 vs lib/generators/templates/models/README in activity_notification-2.1.0
- old
+ new
@@ -1,10 +1,14 @@
===============================================================================
-Some setup you must do manually if you haven't yet:
+activity_notification uses internal models for notifications and subscriptions
+ - ActivityNotification::Notification
+ - ActivityNotification::Subscription
- Ensure you have configured model name in your initializer activity_notification.rb.
- For example:
+ You can use your own models with same database table used by these internal models.
- #TODO
+ Ensure you have configured table name in your initializer activity_notification.rb.
+ For example:
+ config.notification_table_name = "notifications"
+ config.subscription_table_name = "subscriptions"
===============================================================================