I want to send mail to certain users telling them that a record was
created, and where they can find it. I tried using after_create
:deliver_notice but the mailer can't seem to evaluate the created
For example: People save settings saying "when a new product is added,
email me". So, in product.rb, after_create :deliver_notice.
deliver_notice in mailer.rb fires out the email saying check out the
new product at domain.com/products/28-the-new-one... well, is supposed
to fire it out anyway, but I get an evaluating nil error.
How should I go about this?