similar to: Mailer failure: ArgumentError: A sender (Return-Path, Sender or From) required to send a message

Displaying 20 results from an estimated 300 matches similar to: "Mailer failure: ArgumentError: A sender (Return-Path, Sender or From) required to send a message"

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
2010 Jan 21
2
nested forms and attr_accessable
Rails 2.3.5 I am working on a nested form that assigns roles to users through a table called clearances. I have attr_acessable turned off globally in an initializer: ActiveRecord::Base.send(:attr_accessible, nil) I have this set in clearance.rb attr_accessible(:description, :effective_from, :role_id, :superceded_after, :user_id) And this is what params looks like after the
2009 Dec 03
2
AuthLogic Question - one time password (persistence_token) - what config is required to use this???
Hi, I''m stuck trying to work this one out - have been reviewing the AuthLogic code base but having a hard time making sense of it ( http://github.com/binarylogic/authlogic ). Question 1 - Can anyone confirm what config exactly is required to make the one time password (persistence_token) work in AuthLogic? See below for the bulk... Question 2 - If not the full answer to the above,
2010 Nov 30
4
Cucumber+Capybara rails 3 issue (Don't know where exactly)
When I''m executing cucumber tests, I noticed that sometimes rails app (in test env.) getting several the same requests (GET or POST) usually around 3, and it doesn''t render anything with empty HTTP status code. Have anyone met something similar to that issue? here is some example of log file: Started POST "/account" for 127.0.0.1 at 2010-11-30 22:34:17 +0200
2009 Jan 16
16
Testing arbitrary post action parameters
I am working on our (newly renamed) authentication feature. The current scenario is: Scenario: Non-administrators should not set administrator ability Given I have no users And I add a user named "admin" as an administrator And I add a user named "myuser" as not an administrator When the user named "myuser" authenticates And the user
2007 Aug 23
0
"interning empty string - (ArgumentError)" passing AR objects between workers
Hi all, I need some help with this setup I am trying to get working with BackgrounDRb: An autostarted "dispatcher" worker runs every minute and polls some table for jobs that need to be run at that time. For each job found, the "dispatcher" spawns a "runner" worker that runs the job. So in my "dispatcher" worker, I have some code like this:
2006 Aug 04
0
ArgumentError calling Dispatcher.dispatch
Hello. I am hitting a nasty error wherein the the 2nd sequential request to my rails application is failing with the following error. Note that I am getting this error with both webrick... #<ArgumentError: wrong number of arguments (3 for 1)> ["C:/sdks/ruby/1.8.4/lib/ruby/gems/1.8/gems/rails-1.1.4/lib/webrick_server.rb:115:in `dispatch''" ...and with Mongrel... Error
2006 Feb 04
0
ArgumentError when installing plugins with -x
This is the second time that I''ve tried to install plugins where this error has occured. It only occurs when I use the -x flag. script/plugin install -x svn://cartographer.rubyforge.org/trunk/vendor/plugins/cartographer /usr/lib/ruby/gems/1.8/gems/rails-1.0.0/lib/commands/plugin.rb:675:in `method'': wrong number of arguments (0 for 1) (ArgumentError) from
2006 Feb 04
0
Cartographer plugin problem: was: ArgumentError when installing plugins with -x
On 2/3/06, jeremy*pinnix <jpinnix.alt@gmail.com> wrote: > This is the second time that I''ve tried to install plugins where this > error has occured. It only occurs when I use the -x flag. > > > What is the problem? > I found that the cartographer plugin has been moved to rubyforge. But I am still getting an error trying to install it. script/plugin install
2006 Feb 28
1
ArgumentError (string contains null byte) -- file upload problem
Hi, Controller code: if params[:main_image] image = Image.new image.blob = params[:main_image].read @product.main_image.destroy if @product.main_image @product.main_image = image end When I try to display the image using send_data, I get the following error: ArgumentError (string contains null byte):
2007 Aug 24
0
ArgumentError: interning empty string and enum-column plugin
Hello, I am a developer who has just started working on a large scale website in a team of 5 other developers. One of the developers has introduced some enum columns into the the database. Now, by default, active record doesn''t support enum column types but I have added the enum-column plugin into our project. This has worked very well except for a few instances where he
2012 Feb 26
0
Getting ArgumentError calling initialize with ActiveResource 3.2.1
instantiate_record calls new, and new implicitly calls initialize (unless I''m not understanding the mystery) In base.rb def instantiate_record(record, prefix_options = {}) new(record, true).tap do |resource| resource.prefix_options = prefix_options end end As it''s written get an ArgumentError as this calls new(record, true). If I change the code in base.rb to the
2014 Feb 19
0
Extending a module to models causes ArgumentError A copy of xx has been removed from module tree
How can I extend a module to a model class and use an instance of a custom class as a class instance variable for model such that when next request comes, custom class could be found and older instances are deleted? I created a class Samples. I also created a module LoadSamples where in a method say load_samples, I create a new Samples instance and assign it to a class instance variable. I extend
2010 Apr 30
0
Netbeans - Malformed version number string mswin32 (ArgumentError)
History... before it went to heck... I have been working a project in Netbeans for a month. I did a gem update outside of Netbeans while I was installing ImageMagick and RMagick... I also had to remove one verson of ImageMagick to use the one compatible with RMagick. Everything was working well... then I went to migrate my DB back to start fresh again and I got : Malformed version number
2009 Jun 01
0
ArgumentError (interning empty string)
Hello, I am trying to send an email out on registration for confirming and I am thrown this error. I am unable to understand as nothing is nil in the class which I am passing to the Mailer. Please do help me. The stack trace follows: ArgumentError (interning empty string): app/controllers/accounts_controller.rb:103:in `register'' app/controllers/accounts_controller.rb:43:in
2010 Apr 05
1
`test': wrong number of arguments (1 for 2) (ArgumentError)
Hi, Im trying to change the syntax of my tests to the test "some method" do ... end syntax from the existing def test_some_method ... end syntax. Im pasting my test code below. Im getting the error in the subject line if I try to run the test as a ruby script from the console. require File.dirname(__FILE__) + ''/../test_helper'' require
2007 Dec 18
0
Can not test if model name is Tester in rails 2 (ArgumentError: wrong number of arguments (0 for 1))
I''m using rails 2.0.1 now. Here is the step for generate the error 1. Create rails project name demo "rails demo" 2. I create model name "Tester" using command "ruby script/generate model Tester name:string description:text" 3. create database (after change username and password) "rake db:create:all" 4. migrate database, both development and
2013 Jun 24
0
wrong number of arguments calling `request` (0 for 1) (ArgumentError)
Here is the scenario Scenario: Successful login Given an unauthenticated visitor When visitor goes to /users/login And fills in Email with: amitpandya And fills in Password with: amitpandya And clicks the Login button Then amitpandya should be logged in And page should include a notice with text: Welcome amitpandya And amitpandya should see the home mypage page
2010 Oct 30
2
ArgumentError (wrong number of arguments (2 for 0)):
Can anyone tell me why I am getting this error using rails3 and Ruby1.9.2:- Completed 200 OK in 212313ms (Views: 2.8ms | ActiveRecord: 0.0ms) Homepage Load (0.2ms) SELECT "homepages".* FROM "homepages" WHERE ("homepages"."section" = ''%Gar%'') ArgumentError (wrong number of arguments (2 for 0)):
2005 Dec 20
0
ArgumentError in Main#index, weirdness.
Hello, I am very new to ruby on rails so any help would be greatly appreciated, sorry if I don''t include enough useful information as I am unsure what will be needed to help with this error. I am using ruby 1.8.3 on debian "testing" along with lightttpd and fastcgi. I have a controller called "main" as you can see in the error output, and when trying to load the