Displaying 20 results from an estimated 60000 matches similar to: "logger won't print - or prints blanks"
2005 Oct 27
1
Logger datetime_format not working ?
I''m trying to configure logger in a rails app.
I added this to my environment.rb :
RAILS_DEFAULT_LOGGER.datetime_format = "%Y-%m-%d %H.%M.%s"
Yet, none of the entries in the development.log show the datestamp.
What can you tell me about this ?
Thanks.
Peter Fitzgibbons
_______________________________________________
Rails mailing list
2005 Dec 14
0
Fwd: Logger bug in 0.14.3 ?
Hello All,
I am top-posting this in hopes of increasing the visibility.
This ticket has not been touched : Default Logger instance has no formatting
<http://dev.rubyonrails.org/ticket/3144>
For my installation, this is a BIG problem in my production logging !!
For now the workaround below is working, and the double-declaration warnings
of loading ''logger.rb'' twice are
2006 Apr 26
0
RE: DOM events not firing in IE6 with floated di vs
Yea that''s what I am seeing also.
Think I got round this before by turning the structure into a table :(
Andrew - Thanks for your input..
> -----Original Message-----
> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On
> Behalf Of Andrew Tetlaw
> Sent:
2005 Dec 19
3
tough activerecord problem
I have an application that is using active record outside of rails. the app
works fine w/o the activerecord code, but when I added activerecord to the
mix I started having trouble with constants not being recognized, e.g.:
[echo] 1) Error:
[echo] test_pipeline_cruncher(IntradayCruncher::TestPipelineCruncher):
[echo] NameError: uninitialized constant INFO
[echo]
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});
2005 Oct 15
14
OT: Anyone Using a Time Logger?
I have multiple projects and it''s important for me to track time by client
and by project. There''s a Windows application that allows me to do this, but
I''m looking for a cross-platform solution.
I looked at ConsultComm but it wouldn''t install on my Mac. Rather than
rewriting what seems like a commonly-required app, I wondered if anyone else
had something they
2005 Dec 29
2
Access rails logger from plain class
How can I "get" the rails logger from a plain class, that is a class
that does not inherit from a rails class?
I have tried using RAILS_DEFAULT_LOGGER (see below) but it''s nil
class MyClass
logger = RAILS_DEFAULT_LOGGER
def myMethod
logger.debug("stuff...")
end
end
--
Posted via http://www.ruby-forum.com/.
2005 Sep 20
1
Javascript Logger and Console
Hey,
I put together a javascript logger and console that has made my coding
life a breeze, so I thought I would share it with you guys.
Check out the demo http://gleepglop.com/javascripts/logger/
Some features are...
- Toggle button so it is visiable when you need it and out of the way
when you don''t.
- Auto-positions itself at the bottom of the window so output is easy to read.
-
2005 Dec 16
6
active record outside of rails
I really like how Active Record logs the SQL that is executed inside of
rails. Is there a way to get the SQL output when using Active Record
outside of rails?
Thanks,
phil
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
http://lists.rubyonrails.org/mailman/listinfo/rails
2006 May 18
1
RE: Rails-spinoffs Digest, Vol 12, Issue 29
Issue 1: <%= @pic %> instead of <% @pic %>
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of
rails-spinoffs-request-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Sent: Wednesday, May 17, 2006 11:13 PM
To:
2006 Feb 27
0
RE: FW: Calendar widget
Perfect, thanks Marco, great help! Now, why didn''t I think of that? Lol!
-----Original Message-----
From: Marco M. Jaeger [mailto:mail-yVS5avHIROZWk0Htik3J/w@public.gmane.org]
Sent: Monday, February 27, 2006 2:02 PM
To: ''www.dhtmlgoodies.com''
Subject: RE: FW: [Rails-spinoffs] Calendar widget
Thank you Alf - I appreciate your fast response
Marco M. Jaeger | Url:
2005 Oct 18
0
RE: Error: "onclick() is not a function"
I see what he is saying now. When you assign a click event with the
Event.observe it does not allow you to call it with the
$(''xxx'').onclick(); command as it''s looking for the onclick tag in the a
tag.
I''m stumped on a way to get this to work.
Jon Whitcraft
Web Application Developer
Online Services - Indianapolis Motor Speedway
(317) 492-8623
2005 Dec 19
2
Logging of Form information in production environment.
It seems that in the default Production environment, Rails logs posted
form data. Isn't this a security risk? Especially since a user
creation form puts this in the logfile:
Processing Base#index (for 127.0.0.1 at 2005-12-18 21:03:33) [POST]
Parameters: {"user"=>{"password_confirmation"=>"mypassword",
"username"=>"seanwolfe",
2006 May 19
1
RE: Re: Content Rotate, unwanted flashing on Firefox
Never mind........it looks fine for me in Windows 2000 FireFox 1.5.0.3
-Andrew Martinez
-----Original Message-----
From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org [mailto:rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Martinez, Andrew
Sent: Friday, May 19, 2006 5:01 PM
To:
2006 Jan 08
0
RE: Replacing an html chunk with a different htmlchunk
Actually, I see there are two other prototype calls:
Element.remove(''foo'');
Which does a parentNode.removeChild(), and
Element.update(''foo'', ''some html'');
Which does element.innerHTML = ''some html'', and executes any script that
is in the string you pass in.
-----Original Message-----
From:
2006 Mar 22
1
RE: Support for window scrolling for draganddrop
To answer my own question, yes. I looked at the trunk and it passes the
option on from Sortable.
Greg
> -----Original Message-----
> From: rails-spinoffs-bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
[mailto:rails-spinoffs-
> bounces-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org] On Behalf Of Gregory Hill
> Sent: Wednesday, March 22, 2006 12:51 PM
> To:
2005 Aug 25
1
newbie questions about hosting address
Dear Rails groups,
thank you for all the previous helps in this group, and me being a newbie is getting more comfortable with rails and now I finish most of the scaffold modification without much problem. My question is(I know it''s absolutely basic questions but I''m a real outsider :~( ) I have been developing in my own pc, now my office ''s other people will test on it,
2005 Dec 09
0
Default Logger -> Database log
Hi listers,
I''m trying to save my log entries in the database using the following technique :
http://wiki.rubyonrails.com/rails/pages/DatabaseLoggerWish
I''ve added the following code to the Environment.rb :
----------------------------------------------------------------------------
begin
RAILS_DEFAULT_LOGGER = DBErrorLogger.new()
rescue StandardError
2006 Mar 09
0
RE: extending an existing DOM object in aprototypeway
..lol... and I screwed up the option... one more time...
var myActiveSpanBase = new ActiveSpan({color: "red"});
Object.extend($(''someSpan''), myActiveSpanBase);
$(''someSpan'').setup();
Or, more concisely...
Object.extend($(''someSpan''), new ActiveSpan({color: "blue"});
$(''someSpan'').setup();
2005 Dec 22
8
Payflow Pro (was Re: FatWreck.com - New Rails Site)
Several years ago, before PHP introduced their built-in pfpro functions, I
rolled my own crappy interface, which of course delegated to the commandline
payflow client. I could certainly do the same in Ruby today.
Thinking back on it, I realized at the time, and realize again now, that
delegating this functionality to a commandline app is a security risk unless
you''re the *only* user on