search for: j0of1frlu80

Displaying 7 results from an estimated 7 matches for "j0of1frlu80".

2010 Nov 09
3
Rails 3 Action Mailer issue
...from field that I am specifying. My SMTP setting look like : ActionMailer::Base.smtp_settings = { :address => "smtp.gmail.com", :port => "587", :domain => "test.com", :user_name => "support-J0of1frlU80@public.gmane.org", :password => "secret", :authentication => "plain", :enable_starttls_auto => true } and my mailer class looks like, class TestMailer < ActionMailer::Base def registration_confirmation(user) @user = user mail...
2008 Sep 03
4
delta index in Sphinx
...%''; ------------------------------------------------------------------- +------+---------------------------------+ | id | e_mail | +------+---------------------------------+ | 3996 | romanzdswetest-/E1597aS9LQAvxtiuMwx3w@public.gmane.org | | 6218 | test001-J0of1frlU80@public.gmane.org | | 6219 | test002-J0of1frlU80@public.gmane.org | | 6220 | test003-J0of1frlU80@public.gmane.org | | 6196 | test1-J0of1frlU80@public.gmane.org | | 4178 | test-d4T80sjypsYAvxtiuMwx3w@public.gmane.org | | 4...
2011 Aug 09
2
Devise AssociationTypeMismatch
...ite is using Devise and Cancan. Currently I have 3 roles setup I am testing creating a new user using the following command (role is required): curl -H "Content-Type:application/json" -H "Accept:application/json" - d "{\"user\":{\"email\":\"test01-J0of1frlU80@public.gmane.org\", \"role\":\"2\", \"name\": \"name01\", \"password\":\"passwd\"}}" http://127.0.0.1:3000/users and get the following error: ActiveRecord::AssociationTypeMismatch in RegistrationsController#create Role(#7025947...
2008 Mar 13
0
Template being ignored when attaching pdf in e-mail
...t < ActionMailer::Base def inforequest(name, email, notice_request, message) @subject = ''Notice'' @body = {:name => name, :email => email, :notice_request => notice, :message => message} @recipients = email @from = "test-J0of1frlU80@public.gmane.org" @sent_on = Time.now @content_type = "text/html" attachment :content_type => "application/pdf", :filename => "notice.pdf", :transfer_encoding => "send_pdf" do |a| a.body = generate_pdf(notice_request)...
2008 May 03
2
ActionMailer Multiple recipients
...:id => user.screen_name) ) flash[:notice] = "Email sent." redirect_to profile_for(user) end end and in models/user_mailer.rb , I have def groupmess(mail) subject mail[:message].subject from '' Test<do-not-reply-J0of1frlU80@public.gmane.org>'' recipients mail[:recipient] body mail end This seems to work , but the recipients never receive any emails. Also I saw on the development log , that the"To" field on the email dump is missing. When I send the message to a single user , the...
2005 Mar 10
6
problems with ActionMailer
...Mailer" <URL: http://wiki.rubyonrails.com/rails/show/HowToSendEmailsWithActionMailer >, I''ve generated a mailer -- "notifier.rb" -- and I''ve added the following method to the mailer: def comment_notification(comment) @recipients = "email-J0of1frlU80@public.gmane.org" @body = comment end I''m calling the mailer method from within my application with the following lines: @comment = Comment.new(@params[''comment'']) Notifier::deliver_comment_notification(@comment[''comment'']) Upo...
2011 Jan 17
4
Factory Girl and attr_accessor with validation
...ass User < ActiveRecord::Base attr_accessor :tc_check validates :tc_check, :presence => true, :acceptance => true ... end The following definition fails, when calling Factory.create(:valid_user) Factory.define :valid_user, :class => User do |u| u.email ''barry.white-J0of1frlU80@public.gmane.org'' u.phone_number ''(925) 555-1212'' u.active true u.tc_check true end It falls over on validation - Validation failed: Tc check must be accepted (ActiveRecord::RecordInvalid) I''ve also tried setting it when called create like Factory.create(...