Displaying 20 results from an estimated 1700 matches similar to: "Logging in Rails"
2006 Nov 22
4
Error when starting bgrdb
Hi,
I get this error when starting bgdrb using "rake
backgroundrb:start" (on a Mac using bgdrb 0.2.0):
/Users/gl/Projects/xxxxx/xxxxx/vendor/plugins/backgroundrb/server/lib/
backgroundrb_server.rb:33:in `format_message'': undefined method
`strftime'' for "2006-11-22T12:34:18.524572 ":String (NoMethodError)
from /usr/lib/ruby/1.8/logger.rb:320:in
2006 Dec 04
1
no method error when starting backgroundrb
I just installed backgroundrb on our server. When tryin to start via
script/backgroundrb i get a no method error.
./script/backgroundrb start
/home/tom/ralf_dev/vendor/plugins/backgroundrb/server/lib/backgroundrb_server.rb:34:in
`format_message'': undefined method `strftime'' for "2006-12-04T15:53:
23.419225 ":String (NoMethodError)
from
2005 Dec 16
2
Using logger from rails cron jobs
Hi. I''m trying to use logger from a rails cron job.
It works fine, but I''d like the standard ruby behavior of stamping each
log with date and time. How do I do this?
I''m trying:
# Set up out logging
require ''logger''
logger = Logger.new(STDERR)
logger.level = Logger::INFO
RAILS_DEFAULT_LOGGER = logger # Tell rails to log to our logger also
The
2006 May 03
6
ActiveRecord and Lost Connection
This isnt totally a rails question; I am using ActiveRecord for storing
some simple values into a database. My problem; I keep gettign MySQL
Errors. On the Win32 machine it was off and on. Now on the linux
machine (ubuntu) I can'' t connect at all. I have all the password
settings correct.
My only thought, I am working with Threads and thought that might cause
the issue, but I
2006 Feb 10
4
hiding header/footer on html print?
Hello all,
I am using what might be a "poor mans" reporting... html -> print.
Who knows a way to hide the browser-included header and footer of the print?
thanks.
--
------------------------------
Forget the icing. Bake the Cake!
- the epi-centered developer
------------------------------
Peter Fitzgibbons
-------------- next part --------------
An HTML attachment was
2006 Jan 16
3
37s style modularization ?
Hello all,
I remember and have lost a link to the blog on hints about 37s
modularization of basecamp, backpack, etc.
Anyone remeber this and can remind me of the link?
Thanks !
--
------------------------------
Forget the icing. Bake the cake!
- the epicentered developer
------------------------------
Peter Fitzgibbons
-------------- next part --------------
An HTML attachment was
2005 Oct 31
2
Cascading Comboboxen and GO button ?
Hello all,
I have two comboboxen, comboA is popultaed when :controller/list is
retrieved first time.
When comboA is selected, I want to auto-populate comboB (modelB belongs_to
modelA).
The population of tableC (modelC belongs_to modelB and belongs_to modelA)
should not populate until a "GO" button is clicked (link_to with submit).
Help? I need an example of how to filter the post
2005 Nov 21
10
Anybody using SCGI in production?
Or does anybody prefer fastcgi/fcgi? I''m using webrick for development, but plan on using scgi
when I switch to production (because it appears to be an update to fastcgi, and I couldn''t get
fastcgi working anyhow).
thanks
csn
__________________________________
Yahoo! Mail - PC Magazine Editors'' Choice 2005
http://mail.yahoo.com
2006 Mar 20
6
Rails and Offline processing
How are you guys handling threads or server processes that have to,
for example, process the data in your application on a periodic basis?
Cron jobs can do it and then run on the database. But, are there ways
to launch threads within the rails application itself.
I have heard of WebBrick ways, but I am working with lighttpd,
fastcgi? (textdrive if you are really interested).
2006 May 18
5
[OT] Best Blog + Wiki opinions?
Hello all,
I''m looking for suggestions for integrated Blog + Wiki (Bliki) apps. I''d
prefer Rails, I want to hear opinions on all options!
I''ve browsed through W:Bliki <http://en.wikipedia.org/wiki/Bliki>. Nothing
in that list is immediately compelling.
This is for my wife, who is not a technologist, and has a need to create a
information-centric website.
2010 Oct 07
6
Deleting observations - can't see the data after that
Hello all,
I am loading a data frame, fitting a model, getting diagnostic plots and they are flagging a couple of observations as problematic. Fair enough, and I want re-fit without them.
After I delete an offending row (identified by one of the diagnostic plots), something like
data = data[-3,];
then R will no longer print the contents of the data frame; it tells me it is a data frame
2006 Feb 10
3
Using two select elements (master - slave)
Hi, I am looking for an opinion.
I need to have two select html elements in a form, the selection of the first
element will determine the elements of the second select.
I do not want to use AJAX, so I think I would like to add a onchange event in
the first select, but due to my lack of experience in rails I am somewhat
without ideas on the way of handling this "post back" event.
Thank
2005 Dec 19
3
created_on, created_at defaulting to 2000/01/01 00:00:00
Hello all,
Rails 1.0.0
created_on is being set to 2000/01/01 00:00:00
Any ideas on this ?
Thanks!
Schema is
create table user_login_history (
id int identity(1,1) not null,
user_id int not null,
created_on datetime default(getdate()) not null,
created_at datetime default(getdate()) not null,
updated_on datetime default(getdate()) not null,
constraint pk_user_login_history primary key clustered
2010 Oct 13
7
[OT] (slightly) - OpenOffice Calc and text files
Hello all,
I had a very strange looking problem that turned out to be due to unexpected (by me at least) format changes to one of my data files. We have a small lab study in which each run is represented by a row in a tab-delimited file; each row identifies a repetition of the experiment and associates it with some subjective measurements and times from our notes that get used to index another
2006 Nov 10
0
Override logger for large binary data
I''ve searched high and low and played around and couldn''t figure out
how to override what the logger prints for a specific model (one that
has many columns of multi-100K blobs).
I ''tail -f log/development.log'' in a shell within emacs and it really
doesn''t like the huge lines dumped out during saves/updates.
So, I finally figured out that if I put the
2005 Dec 15
2
Migrations on SQLServer ??
Hello all,
I''ve spent a while looking for a sniff of this on the wiki or google at
large..
Does migrations work for SQL Server on 1.0 ?
--
------------------------------
Joyeux Noël
------------------------------
Peter Fitzgibbons
_______________________________________________
Rails mailing list
Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
2006 Jun 19
1
[OT] HowtoConnectToMicrosoftSQLServerFromRailsOnLinux from Ubuntu
Hello all,
I am trying to connect to my remote MS SQL server from Ubuntu.
I have followed
HowtoConnectToMicrosoftSQLServerFromRailsOnLinux<http://http://wiki.rubyonrails.org/rails/pages/HowtoConnectToMicrosoftSQLServerFromRailsOnLinux>as
best that I can.
TSQL is working, example below.
My configs are found below.
When I run isql :
> isql -v pubs name password
[IM002][unixODBC][Driver
2010 Feb 25
2
Ordering categories on a boxplot - a serious trap??
Hello all,
I think I probably did something stupid, and R's part was to allow me to do it. My goal was to control the order of factor levels appearing horizontally on a boxplot. Enter search engines and perhaps some creative stupidity on my part, and I came up with the following:
v=read.table("factor-order.txt",header=TRUE);
levels(v$doseGroup) = c("L", "M",
2007 Nov 21
3
R as server application
Is there a way to use R as a client server application?
Whitch means:
1. install R on a server (running as a service)
2. from client send R-scripts through IDE/Editor (TINN-R) to "R-server"
3. receive R-output on client
All the Best
Kilian Schwab
2006 Sep 18
2
Mocha + Selenium-on-rails loading problem ?
Hello All,
I need to stub two class methods before a selenium call.
The .rsel is :
require ''mocha''
SalesConfigWork.stubs(:load_work_data)
SalesConfigWork.stubs(:delete_work_data)
setup :fixtures => :sales_config_works
open "/"
The Selenium test runner result is :
undefined method `stubs'' for SalesConfigWork:Class
Extracted source (around line *#0*):