Displaying 20 results from an estimated 20000 matches similar to: "Exception Notifier. . .2 questions"
2006 Oct 05
3
Exception Notifier plugin has stopped working.
Exception Notifier seems to have ceased working for some reason. I
thought perhaps a change in edge rails was to blame, but I rolled back
to 4900 and the problem was still there.
The problem is that it generates an error in the _session.rhtml partial.
It looks as if a method in the PP class is bombing. It says wrong
number of argument (1 for 0), but there is no method on that line with
2006 Mar 22
1
undefined method `respond_to'' when using Exception Notifier Plugin
I''m trying to use the exception notifier plugin and I''m getting this error
message:
NoMethodError (undefined method `respond_to'' for
#<Adm::PeriodController:0xb74c9804>):
/vendor/plugins/exception_notification/lib/exception_notifiable.rb:64:in
`render_500''
/vendor/plugins/exception_notification/lib/exception_notifiable.rb:76:in
2010 Jun 24
0
Rails3: render_to_string of a .html.erb when request is a json request raises MissingTemplate error
I''ve the following situation (which actually works in Rails 2.3.8 and
this is a result of the migration of our app to rails3):
I have a partial which is rendered a few times (imagine tr''s in a
table). On the clientside there''s a script that does a json request
for a specific row (jQuery + ajax dataType: ''json'' and type: ''POST'')
In
2008 Mar 04
2
Action Mailer throwing underscores on template name
I''ve recently run into a problem with one of my applications that
refuses to send emails using ActionMailer.
Looking at the log, it become obvious what''s happening, the system is
looking for templates with underscores at the end. Notice the
exception_notification_ .
For example:
ActionView::ActionViewError (No rhtml, rxml, rjs or delegate template
found for
2010 Oct 21
4
Authlogic + Rails3 - undefined method `Login' for nil:NilClass
Im new to Rails, and decided to start of with Rails3. After a lot of
searching ive managed to get a little bit of Authlogic working. I''m able
to register a user, login & logout.
Now, I would like to add more features, get more of authlogic working.
I''m using Railscast EP 160 as my reference.
Portions of the code found on the tutorial throw errors: Eg:
<!--
2008 Jan 08
0
How do I call the exception_notifier from my own rescue_action_in_public ?
Hi all!
I''ve been using the excellent exception_nofitier (
http://agilewebdevelopment.com/plugins/exception_notifier ) a while
now, but want to change the way it interacts with my application.
I now have my own rescue_action_in_public which takes me to a "Error.
Describe the problem"-page. After filling out some user data the user
can then click on submit. This is where the
2011 Nov 09
0
beginner question: how do I figure out why an app won't start? (RubyMine)
I''m building a new Ruby app with RubyMine. I built a basic app (just a
homepage) and it is running fine. Next step is to get the app talking
to MongoDb. I''m using this tutorial:
http://www.mongodb.org/display/DOCS/Rails+3+-+Getting+Started
also tried this one: https://github.com/RailsApps/rails3-mongoid-devise
The problem is, after running through the tutorial and starting my
2010 Nov 04
0
Re: Train wreck getting render_to_string to work from foreign controller [SOLVED]
Just for collective knowledge as I have found no info on this problem
online:
I solved this by adding an .html.erb file for the "missing template", since
by design or bug Rails3 will not find or render another controllers view (in
my experience). Then in the new html.erb file, I just put <%= render
"comparisons/display" %> because the views *are* able to find templates
2011 Apr 26
2
exception notifier not working on production
I''m using Rails 3 and installed exception notifier as a gem. It works
perfectly in development, but for some reason it isn''t sending e-mails
in production. When I check the logs, I don''t see any mention of my
app trying to send an e-mail, but running rake middleware shows that
it is loaded. I''m really confused, why is this happening?
--
You received this
2011 Jul 18
1
rails server being aborted due to mysql lib file not available
Hi,
My system has the following :
MacOs Leopard
Rails 3
Ruby 1.9
Mysql 5.1.58
mysql2 ruby gems
My problem is that when i give "rails server", the task aborts with
the foll error
rails server/Users/nisha/.rvm/gems/ruby-1.9.2-p180@rails3/gems/
railties-3.0.5/lib/rails/script_rails_loader.rb:11: warning: Insecure
world writable dir /usr/local/bin in PATH, mode 040777
2010 Oct 27
0
"Missing partial layouts/application" error on render :partial => "index", :layout => "application" - Rails3
This is the second time I have seen this error, and been googling around and
cant find an explanation. This error is happening with Rails 3/1.9.2 and was
not with Rails 2.3.8/1.8.7:
*Template is missing
Missing partial layouts/application with {:handlers=>[:erb, :rjs, :builder,
:rhtml, :rxml], :formats=>[:html], :locale=>[:en, :en]} in view paths
2010 Aug 28
0
Rails 3 rendering XML problem
I have Rails 3 application (running Rails RC1), and I have the following
controller:
class PluginsController < ApplicationController
respond_to :html, :xml, :json
def index
@plugins = Plugin.all
respond_with(@plugins)
end
end
If I try to render http://localhost:3000/plugins it works fine, showing
me the HTML version. If I try to get http://localhost:3000/plugins.json,
it also
2011 Feb 17
3
Handling InvalidAuthenticityToken from bots
I''m using exception_notifier to get an email when a 500 error occurs
in production. Lately I''m seeing a lot of nonsensical POSTs show up
that cause an InvalidAuthenticityToken error. All the fields contain
random characters. (For instance, "search_title"=>"BHQWTZpjGeb")
Is there a way to detect them and not send the email, while still
sending the email in
2011 Apr 12
0
RVM no such file to load
Hi,
I installed rvm recently I have a problem when I launch the rails 3
console ( or rails 3 app) it doen''t find my gems.
Here is my console:
Loading development environment (Rails 3.0.3)
ree-1.8.7-2011.03 :001 > require "rubygems"
=> nil
ree-1.8.7-2011.03 :002 > require "simple-rss"
LoadError: no such file to load -- simple-rss
from
2011 Mar 28
0
error compiling ruby 1.9.2-p180 while upgrading to Rails 3
gcc -shared -o ../../../.ext/i686-linux/digest/md5.so md5init.o md5.o -
L. -L../../.. -L/home/rails3/.rvm/usr,/lib -Wl,-R/home/rails3/.rvm/
usr,/lib -L. -rdynamic -Wl,-export-dynamic -Wl,-R -Wl,/home/
rails3/.rvm/rubies/ruby-1.9.2-p180/lib -L/home/rails3/.rvm/rubies/
ruby-1.9.2-p180/lib -lruby -lpthread -lrt -ldl -lcrypt -lm -lc
/usr/bin/ld: /lib: No such file: File format not recognized
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)):
2007 Jan 06
6
Exception notifier not working
I installed the exception notifier via:
/script/plugin install -x exception_notification
It resides in the vendor/exception_notification directory (as
advertised). I''ve configured environment.rb with the following:
ExceptionNotifier.exception_recipients = %w(blakemiller-uBzjpPW2m0pBDgjK7y7TUQ@public.gmane.org)
ExceptionNotifier.sender_address = %("Application Error"
2011 May 20
5
views w locale default template
[RAILS3]
I hesitate on how handling the locale view templates to default to
one language only ..
sending admin emails will go only to one locale ''en_GB''
should I set it up into the template name and set I18n.locale to
''en_GB''
membership_renew.en_GB.html.erb
OR
whatever locale is used , if I have :
membership_renew.html
it will be the default ?
--
2005 May 25
0
Remote Voicemail Notifier / enter Diaplplan on SIP Register
There is a patch on Mantis (http://bugs.digium.com/view.php?id=4371)
Which includes several features.
1. Support for central voicemail server(s) with remote server
notification via IAX
In other words, this patch allows you to configure an Asterisk server as
a central voicemail server and to send out voicemail notification to
remote Asterisk servers who can then pass the notification on to
2012 Jun 26
2
Error with rake command
I am using Rails 2.3.8 application and when I enter rake command it
gives following error :
ms@ms-HP:~/OpenStreetView$ rake
WARNING: ''require ''rake/rdoctask'''' is deprecated. Please use ''require
''rdoc/task'' (in RDoc 2.4.2+)'' instead.
at /home/ms/.rvm/gems/ruby-1.9.3-p194@global/gems/rake-0.9.2.2/lib/rake/rdoctask.rb
rake