search for: user_notifier

Displaying 8 results from an estimated 8 matches for "user_notifier".

Did you mean: user_notifies
2007 Nov 25
4
is notify resevered word?
Hi, When I added this association... class User < ActiveRecord::Base has_one :notify end ...and tried then to update column in User table it will call queries for notify table automatic? Output --------------------------------------------------------------- User Columns (0.041488) SHOW FIELDS FROM `users` User Load (0.001544) SELECT * FROM `users` WHERE (`users`.`nickname` =
2007 Dec 08
6
Rails 2.0 ActionMailer breaks my redmine render_message
I am using ''redmine'' (v 0.6) as my major project manager, seems running fine w Rails 2.0 (slight modifs for paginations..) but I am stuck with a major error when sending a confirmation email : mailer.rb class Mailer < ActionMailer::Base .... # Renders a message with the corresponding layout def render_message(method_name, body) layout =
2007 Aug 30
8
experimental rails story adapter in trunk
For those of you interested in getting a jump on learning about and using the new Story Runner in a Rails app, I''ve added an experimental Rails-Story adapter to trunk. You can see how to use it here: http://pastie.caboo.se/92320 This is PURELY EXPERIMENTAL, however it actually works and will likely not change much in the way that it does work. Happy hacking! David
2006 Jan 26
2
Change email template for Salted Hash Login Generator?
There are a couple of things I''m trying to do with the salted hash login generator. First off I am trying to change the email template to include some other things such as links to the site, instructions and other email goodness. Second I am trying to find where the gem is pulling the app_url from because I changed it to reference my host name, but I have not been able to get it to
2013 Jun 06
1
Introducing MailJack: autogenerate querystring parameters that are appended to links in your emails
...you want to track links in, and what query string parameters you want to include. What''s cool is that you pass a Proc to each query string parameter that is evaluated at mail send time. Here''s what the configuration looks like MailJack.config do |config| config.mailers = [:user_notifier] config.href_filter = /#{MyApp::Application.config.host}/ config.encode_to = :utm_source config.trackable do |track| track.campaign = lambda{|mailer| mailer.action_name} track.campaign_group = lambda{|mailer| mailer.class.name} end end So, *mailers* are your mailer classes that...
2009 Jun 15
1
NoMethodError: undefined method `password_reset_instructions' for UserNotifier:Class
Any ideas what would be causing this? NoMethodError: undefined method `password_reset_instructions'' for UserNotifier:Class from /Library/Ruby/Gems/1.8/gems/actionmailer-2.3.2/lib/action_mailer/ base.rb:400:in `method_missing'' *** app/models/user_notifier.rb class UserNotifier < ActionMailer::Base def signup_notification(user) setup user subject ''Your new account'' body :url => account_url end def password_reset_instructions(user) setup user subject "Password Reset Instructions" body :...
2009 Oct 28
2
How to send a html email with attachment
Hi guys: I wanna send a html format email with a attachment. What I do is like: model: def weekly_report address = WeeklyReportEmail.find_all_by_validate(true).collect(&:address).to_sentence(:last_word_connector => '','', :two_words_connector => '','') @recipients = address @from = "Chronos weekly report
2007 Feb 16
4
Auto detect URL for ActionMailer?
Hi, how can I call the url in an actionMailer definition - so that it automatically detects what the rails application server is and puts it in the url that is mailed to the client? (I don''t want to have to change it every time the hostname is changed - I''d like the application to auto detect what the host is - whether it''s localhost:3000 or my own website... example: