Issue 51 in activemessaging: In a rails development environment, 0.6.1 generates spurious output on every load

0 views
Skip to first unread message

codesite...@google.com

unread,
Feb 10, 2010, 5:01:27 PM2/10/10
to activemessagin...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium

New issue 51 by mhorowitz: In a rails development environment, 0.6.1
generates spurious output on every load
http://code.google.com/p/activemessaging/issues/detail?id=51

What steps will reproduce the problem?
1. run your favorite activemessaging app under WEBrick
2. cause some actions to be executed

What is the expected output? What do you see instead?

I expect nothing. Instead, I get

"/Users/marc/myapp"
"/Users/marc/myapp/config/messaging.rb"

every single time an action runs.

What version of the product are you using? On what operating system?

0.6.1, on macos 10.6.2

Please provide any additional information below.

The problem is in activemessaging.rb, in self.load_config. It uses p to
print out APP_ROOT and the config file path. p should never be used in a
library. If you want to output this, use the logger as you do later in the
method, but really, I think you should just delete those two lines.


--
You received this message because you are listed in the owner
or CC fields of this issue, or because you starred this issue.
You may adjust your issue notification preferences at:
http://code.google.com/hosting/settings

codesite...@google.com

unread,
Mar 28, 2010, 5:50:40 AM3/28/10
to activemessagin...@googlegroups.com

Comment #1 on issue 51 by maarten.vanberkel: In a rails development
environment, 0.6.1 generates spurious output on every load
http://code.google.com/p/activemessaging/issues/detail?id=51

I agree that this output isn't that valuable and can be removed.

Attachments:
issue_51_remove_spurious_output.patch 383 bytes

codesite...@google.com

unread,
Mar 29, 2010, 6:39:42 PM3/29/10
to activemessagin...@googlegroups.com
Updates:
Status: Started

Comment #2 on issue 51 by kookster: In a rails development environment,

0.6.1 generates spurious output on every load
http://code.google.com/p/activemessaging/issues/detail?id=51

(No comment was entered for this change.)

Reply all
Reply to author
Forward
0 new messages