Well, it seems I forgot to add the acts_as_authenticated to the repository on my...
[selectricity-live] / vendor / plugins / acts_as_authenticated / generators / authenticated_mailer / templates / observer.rb
diff --git a/vendor/plugins/acts_as_authenticated/generators/authenticated_mailer/templates/observer.rb b/vendor/plugins/acts_as_authenticated/generators/authenticated_mailer/templates/observer.rb
new file mode 100644 (file)
index 0000000..6ade4f3
--- /dev/null
@@ -0,0 +1,9 @@
+class <%= class_name %>Observer < ActiveRecord::Observer
+  def after_create(<%= file_name %>)
+    <%= class_name %>Notifier.deliver_signup_notification(<%= file_name %>)
+  end
+
+  def after_save(<%= file_name %>)
+    <%= class_name %>Notifier.deliver_activation(<%= file_name %>) if <%= file_name %>.recently_activated?
+  end
+end
\ No newline at end of file

Benjamin Mako Hill || Want to submit a patch?