Displaying 20 results from an estimated 10000 matches similar to: "Stack level too deep with actionmailer"
2008 Jun 10
7
ActionMailer undefined method `parameters' - Rails 2.1
Hello Rubyists,
I''m currently trying to get email hooked up via ActionMailer, and while
I''ve gotten it to work in the past on Rails 1.2.x, I''m seeing an error
that I''m unfamiliar with.
Right now, I''m just trying to send email from my dev box via the SMTP
server at work.
My development.rb file:
#...snip
config.action_mailer.delivery_method = :smtp
2006 Jul 26
1
Scaffolding Problems
Hi.. Im a brand new ruby on rails developer, and when i make a scaffold
and navigate to the it, i get an error that looks like this.
-----------------------------------------------------------------
NameError in PagesController#list
uninitialized constant Page
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Sep 04
5
uninitialized constant BooleanClause
I''ve installed the latest Win32 gem and the acts_as_ferret plugin (i
checked out the files and placed them in the vendor/plugins directory).
When I try to search I get the following error:
uninitialized constant BooleanClause
RAILS_ROOT: ./script/../config/..
Application Trace | Framework Trace | Full Trace
2006 Jul 27
9
CalendarHelper
Has anyone had any luck using the CalendarHelper plugin at
http://wiki.rubyonrails.com/rails/pages/CalendarHelper recently?
I''m scratching my head over the following error when I look at any page
in my application:
NameError in CalendarController#index
undefined local variable or method `date_format'' for
#<CalendarController:0x24ccd4c>
RAILS_ROOT:
2006 Aug 08
2
"include DRbUndumped" error
Hi,
I am getting my hands on trying the cool BackgrounDrb plugin.
Following various discussions and suggestsion, I included "include DRbUndumped"
in my ActiveRecord model. However, the following exception occurs
after I tried this and hit the page that uses this model. Does anyone
know why this is so? Is it possible that an object cannot be
DRbUndumped (that would mean, we
2006 Aug 04
8
Unable to follow basic RoR tutorial (Win32)
I have just set up RoR to find out for myself if this tool is stable
enough to actually be used yet.
Anyhow, I started by going to the RubyOnRails website and following the
instructions to install the platform on my Windows 2000 PC.
"Get Ruby on Rails in no time"
"We recommend Ruby 1.8.4 for use with Rails."
So... I downloaded 1.8.4 and installed:
C:\>ruby -v
ruby
2007 Dec 11
1
501 Syntax: HELO hostname - Mail problem
Hello...
I am encountering a problem sending emails from Windows using an
extermal smtp server.
When attempting to send out the email, the following error is
returned:
501 Syntax: HELO hostname
I have checked the format of the emails, and they are ok. It seems
it''s choking right at the begging of the connection to the smtp
server, when my computer needs to identify itself by sending
2006 Aug 04
1
route error with controllers in a module, should just work
This is ALL I have added to my routes.rb
map.connect ''admin'', :controller => ''/admin/welcome''
I have found plenty of examples saying this is correct if you have a
WelcomeController in the Admin module, which I do :)
But now webrick won''t even start ??? Look at those 4 colons ::::, what
is that about ?
help !
=> Booting WEBrick...
2006 Jul 24
1
date_select and ActiveRecord find()
If I pass a date through date_select to a controller, can a Active
Record object be found based on this date that is passed? Here is
what my log says:
ArgumentError (Unknown key(s): publication_date(2i),
publication_date(3i), publication_date(1i)):
/opt/local/lib/ruby/gems/1.8/gems/activesupport-1.3.1/lib/active_support/core_ext/hash/keys.rb:48:in
`assert_valid_keys''
2006 Feb 08
2
ActionMailer EOFError (sometimes)
I''m having problems sending emails sometimes using ActionMailer. Looks
like some emails are never sent because something breaks when sending
it. It is a small quantity but can''t even have one drop. Browsing
through the list I saw that one person had the same error as I did but
in his case he couldn''t send any emails and in the end he needed no
authentication at all.
2007 Jul 04
5
stack level too deep
Hi,
I have a SystemStackError. Here is the stack (sorry if it''s a little
long) :
app/models/line_item.rb:14:in `product''
app/models/line_item.rb:14:in `product''
app/controllers/store_controller.rb:188:in `redirect_to_paypal''
/opt/local/lib/ruby/gems/1.8/gems/activerecord-1.15.3/lib/
active_record/associations/association_proxy
.rb:123:in `each''
2006 Dec 28
1
ActionMailer/SMTP: Net::SMTPSyntaxError when message body contains only a 'dot'
FYI:
I don''t think this is a very well know. It seems that, on some
operating systems, ActionMailer/SMTP crashes when it sends an email
with only a ''.'' (aka a ''dot'' or a ''period''). Specifically, you get
Net::SMTPSyntaxError (502 Error: command not implemented):
Environment Details:
$ uname -a
Linux private1 2.6.15-26-server #1 SMP
2007 Oct 29
2
error message after upgrading to Gusty Gibbon Ubuntu
I have started to get the error message "wrong number of arguments (1
for 0)" since I upgraded to Gusty Gibbon.
I am new to ROR so I have no clue.
This is the code that was running
def create
@user = User.new(params[:user])
if @user.save
flash[:notice] = ''User was successfully created.''
redirect_to :action => ''list''
else
2006 Jul 14
14
[URGENT] Need help getting rails app back up desperately
I''m desperate. A few hours ago I was checking my server because we are
running a survey for a new client and everything looked good for that
app but I noticed another Rails app was quite large (twice as normal)
so I decided it was time for a restart. Big mistake. Upon restart the
application gave me a 500 error. Checking the logs I found a stack
level too deep error that after hours I
2006 Jul 01
0
Paypal IPN Gem
Having some problems. Using instant rails 1.3 updated with to rails
1.1.4. Gem Paypal and Money gems are installed. Also installed the
plugin paypal, I see it in /vendor/plugins/paypal and restarted the
server. I posted my error at the bottom. Any Ideas?
Thanks Kindly
-Ryan
# I have a controller called byc, in it I have this action.
def create
@registrant =
2006 Aug 09
3
Can''t update actionmailer gem?
Trying to update actionmailer gem, and it''s complaining about the
version of actionpack not being correct.
C:\eclipse\workspace>gem update actionmailer
Updating installed gems...
Attempting remote update of actionmailer
Install required dependency actionpack? [Yn] Y
ERROR: While executing gem ... (Gem::GemNotFoundException)
Could not find actionpack (= 1.12.4) in the repository
2006 Jul 05
1
Routing error "unitialized constant" after refactoring
Hi. I''ve heavily refactored an application. When I access
http://0.0.0.0:3000/ I now get the stack trace at the end of this mail.
My routes.rb:
ActionController::Routing::Routes.draw do |map|
map.connect '''', :controller => ''user/dashboard'', :action => ''boo''
map.connect '':controller/:action/:id'',
2006 Jan 10
5
Oracle 10g Express - generate scaffold gives error
Hello,
I have Oracle XE installed.
I have a table USERS.
When I try to generate a scaffold it gives me this error.
I tried also with Mysql and it worked.
E:\radrails\projects\MPS>ruby script\generate scaffold user
exists app/controllers/
exists app/helpers/
create app/views/user
exists test/functional/
dependency model
exists app/models/
exists
2006 Aug 01
2
actionmailer cant find template in backgroundrb
Im trying to send mails from a backgroundrb worker and it seems like
ActionView cant find my template. same code works as a rake task.
here my worker:
class StatusMailWorker < BackgrounDRb::Rails
repeat 1.minutes # <-- hehe!
def do_work(args)
[...blah...]
NotificationMailer.create_daily_report(users, rep, items)
end
end
end
its throwing the following error:
No
2006 Aug 03
0
problem with Rails: cgi.rb:342
here is the error i am getting while trying to do functional /
integration tests. can someone tell me if this error has been fixed, and
if so, how do i get the fix ? i am currently running 1.8.4 of ruby
Loaded suite test/integration/stories_test
NoMethodError (private method `gsub'' called for 0:Fixnum):
c:/ruby/lib/ruby/1.8/cgi.rb:342:in `escape''