Displaying 20 results from an estimated 400 matches similar to: "Ruby 1.8.6 + Rails 1.2.3 + ErrorNotification == NameError !?"
2006 May 05
1
NameError when running exception_notification plugin?
Hi all,
I installed the exception_notification plugin via ''script/plugin
install'', and when configure it and try to run it, I get:
NameError
uninitialized constant ExceptionNotifiable
This error occured while loading the following files:
application.rb
exception_notifiable.rb
In my application.rb, I added this:
include ExceptionNotifiable
And in my development
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"
2007 Nov 14
2
Exception Notification plugin options hash handling????? backwards merge?
Today I worked on adding email exception notification to some
ancillary background processes for a Rails app.
Since I was already using Jamis'' exception notification plugin to
notify me of errors in controllers for the web app, I figured that the
path of least resistance was to try to figure out how to hook it into
the daemon code.
At first it looked easy. I just needed to
2007 Aug 16
0
Update from RoR 1.1.6 - 1.2.3 Rake fails
I am getting a message when I update my system from rails 1.1.6 to
1.2.3 running rake.
[]# rake test --trace
(in /var/www/matrix.1.7.15)
** Invoke test (first_time)
** Execute test
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke environment (first_time)
** Execute environment
rake aborted!
Expected /var/www/matrix.1.7.15/config/../vendor/plugins/
2006 Jan 22
0
problem setting up lighttpd and rails app.
I am trying to set-up lighttpd and rails to work with fastcgi.
Here is what I am currently using for the virtual host definition. I
have gotten this from various websites. Sorry about the formatting I
can''t seem to control it with Thunderbird.
var.wholesale = "wholesale"
$HTTP["host"] =~ "^wholesale" {
server.document-root = "/var/lighttpd/"
2008 Jan 22
0
Trying to spec ExceptionNotifiable behavior
Hello List.
I''m trying to overwrite part of ExceptionNotifiable
(ExceptionNotification plugin) to render customized error 500 pages
based on browser agents.
For this, I''ve created a fake controller that inherits directly from
ActionController::Base:
class FooExceptionController < ActionController::Base
include ExceptionNotifiable
# this action should not fail, used for
2006 Aug 15
2
Start up error
I am a complete newbie and am having trouble getting mongrel started up. I
cannot find any info about this error. If you can help at all, I would be
very grateful. Here is the error I get when I try and start my rails app
with mongrel. I have reomved and reinstalled Rails, Ruby, Daemons, and
Mongrel based on some other articles I found on this list. PLEASE HELP!
tim at
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
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
2007 May 06
0
Initializing a Scheduler
I have a need for a scheduler to run from inside of my rails
application. I am familiar with Java (J2EE) and new to Ruby. In Java I
would have used a framework called Quartz. I would have created a
servlet and in the init method started up the Quartz framework. I have
created a new Ruby class and called it StartCron.rb in the Components
folder of my Rails app. I have been playing with the
2008 Jun 06
0
load_missing_constant': uninitialized constant ExceptionNoti
I have installed exception notifier plugin in my application & i am
getting the error like this
load_missing_constant'': uninitialized constant ExceptionNotifier
(NameError)
Please solve it
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on Rails:
2010 Oct 21
2
PRoblem using railroad
I am trying to create class diagrams of my application using railroad
but i am getting following error:
Error loading application environment.
(Are you running railroad on the aplication''s root directory?)
/usr/lib/ruby/1.8/rubygems/custom_require.rb:31:in
`gem_original_require'': no such file to load -- config/environment
(LoadError)
from
2009 Jan 22
8
From Instantrails to the Mac
Hi,
I am a Newbie to Mac and Rails.
I have a rails apps made using instantrails in windows, and have
been trying to transfer it to a mac.
I am using Leopard and installed mac ports and Xcode.
I copied the folder from rails_apps and added all the gems.
Anything else I need to do? Any Ideas?
Thank you!
This is the set of errors that I am getting after starting the server:
Exiting
2006 Feb 28
0
Question abour Draggables & Droppables - my code example
hi i think my example is very simple and straightforward so i''m not sure if
it meets your needs (change revert:true to revert:false from a draggable
after I drop it on a droppable so it doesn''t return to its original place.)
i did this
# 2 divs created here
<script language="javascript">
new Draggable(''drag'', {revert: false});
2006 Jul 14
2
Configuration search order
Hi
I''m in the process of deciding how a plugin should be designed to make
configuration as easy as possible. Right now I require the plugin from
init.rb, and set some configuration options (as class attribute
accessors) from environment.rb. Then I tried setting these from
environments/development.rb instead, and to my surprise this didn''t
work. It said the class in question
2006 Oct 17
3
action mailer, error Subject: Header must not be multiple
i want to send multiple emails:
#my Controller
def send_email
if params[:group_ids]
groups = Group.find(params[:group_ids]) # creates an array called
''groups'' that looks like : [{:id => 1, :title => ''yediot''}, {:id => 2,
:title => ''maariv''} ] --- [ 1, 2 ]
else
groups = []
end
names = []
emails = []
2006 Feb 26
7
LoginEngine problems
I''m trying to get a simple authentication system going for a small rails app.
After much research, it looks like LoginEngine should do exactly what I want.
Now, the documentation is somewhat confusing to me when looked at in the light
of reality. There are some places that say you have to install the "engines"
plugin. But, I cannot find such a beast.
So, I installed the
2010 Feb 17
0
[PATCH] Provides the new node lifecycle events.
Replaced the TurboGears 2 reference implementation with a simpler Django
server.
This implementation has worked out the server interface for an HTTP
awake and config request. Started working on this ready portion, but
nothing is ready yet.
THIS IS A WORK IN PROGRESS: This patch is solely meant to solicit
feedback. Please reply with suggestions and improvement ideas. Thanks.
:)
Signed-off-by:
2006 Mar 07
1
column human names in validation errors
hi,
I don''t know how to change field names in error messages.
if I add error message like this:
errors.add( "age", "You must be at least 18 years old" ) unless age >=
18
when error occures this text is displayed
Age You must be at least 18 years old
so the first word(s) is column human name for that attribute.
how can I change that? of course only in error
2010 Feb 11
1
[PATCH] Provides a reference implementation management server.
The reference implementation server is based on TG2. The majority of the
boiler plate code has been stripped out to focus the server solely on
the functionality necessary for a management server.
Signed-off-by: Darryl L. Pierce <dpierce at redhat.com>
---
server/.gitignore | 4 +
server/MANIFEST.in | 4 +