Displaying 20 results from an estimated 300000 matches similar to: "rails syslog"
2007 May 21
1
Sysloglogger with multiple logs
Hi all,
I''ve been using SyslogLogger to do standard application logging and
it works great. I want to do my custom application logging to a seperate
log but I''m having problems. I create the default application logger
with SyslogLogger.new (leaving it with the the default application name)
my second instance of the SyslogLogger I pass it the name
custom_app_log. Now in my
2006 Feb 13
4
about rails connection pool?
hi all,
how to config or use rails connection pool, like jsp, tomcat
connection pool.
regards.
--
Posted via http://www.ruby-forum.com/.
2006 Feb 20
3
rails temporary table?
hi all
any one know how to create a temporary table and fill it, like:
#------------------------------------------------------------
create temporary table test1 select * from test;
#------------------------------------------------------------
regards.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 19
3
any one know this problem?
i install ruby-1.8.4, seems everything is ok
but, when i do this:
irb(main):001:0> require ''URI''
LoadError: no such file to load -- URI
from (irb):1:in `require''
from (irb):1
is something i missed?
--
Posted via http://www.ruby-forum.com/.
2007 May 09
0
SyslogLogger 1.4.0 Released
SyslogLogger version 1.4.0 has been released!
http://seattlerb.rubyforge.org/SyslogLogger
SyslogLogger is a Logger replacement that logs to syslog. It is almost
drop-in with a few caveats.
Changes:
== 1.4.0 / 2007-05-08
* Split from rails_analyzer_tools.
* Added eh methods for compatibility with Logger.
* Added syslog-ng instructions. Patch by Tom Lianza.
* Fixed require in
2006 Feb 19
5
can you give a answer?
when i tail -f my log:
i find this:
"Completed in 0.00233 (428 reqs/sec) | Rendering: 0.00005 (2%) | DB:
0.00118 (50%)"
i am sure, this request didn''t access DB. but why here DB is (50%)
it''s log wrong or my fault?
regards
--
Posted via http://www.ruby-forum.com/.
2010 Jun 08
1
session_options[:secure] resets session_id on every request
I''m working on an ecommerce site (in Rails 2.3) and I added:
ActionController::Base.session_options[:secure] = true
to ~/config/environments/production.rb
Now, every time I add something to my shopping cart and navigate away I
get a new session_id (which essentially empties my shopping cart).
How can I get the continuity of my sessions back, while still having the
session_id get set
2006 Feb 17
2
console doesn''t work
any one know this problem?
when i try to run console
#---------------------------------------------------------------
>ruby script/console
>Loading development environment.
>/usr/local/lib/ruby/1.8/irb/completion.rb:10:in `require'': no such file to load -- readline >(LoadError)
> from /usr/local/lib/ruby/1.8/irb/completion.rb:10
> from
2006 Mar 11
5
rails log
i know rails log is very good, detailed.
but find useful infos from big log is terrible.
any one have good idea.
regards
--
Posted via http://www.ruby-forum.com/.
2006 Mar 01
15
Is there a perl equivalent of .= in ruby/rails??
I want to make a for loop that concats strings onto a variable:
html .= var1 + "this is a test" + whatever
What is the syntax that does this in ruby/rails?
Also, is there a ''print'' method in ruby? Because when I try to use
render_text it will only let me use this once.
--
Posted via http://www.ruby-forum.com/.
2005 Dec 02
1
cache problem
Hi all
I try to cache page
...
caches_pag :test
...
I want expire cache now.
so i turn off environment cache switch
and comments above code
but, doesn''t work
what''s going on?
all regards
--
Posted via http://www.ruby-forum.com/.
2005 Mar 30
2
Production Log Analyzer 1.1.0
First public release of Production Log Analyzer!
Download it at:
http://rubyforge.org/frs/?group_id=586
The Production Analyzer lets you find out which pages on your site are
dragging you down. pl_analyze requires the use of SyslogLogger
(included) because the default Logger doesn''t give any way to associate
lines logged to a request.
SyslogLogger gives you many other
2006 Feb 11
4
Ruby/Rails T-Shirts/graphics?
Hey, I was just wondering - are there any Ruby and/or Rails t-shirts
available? Or nice, big graphics available to make your own?
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Apr 11
2
''rake rails:update'' Error - can''t upgrade to 1.1.1
''rake rails:update'' is causing the below error for me when trying to
upgrade my application. I''ve scowered Google and didn''t find much, has
anyone else had this problem and solved it?
C:\@cs\phase2>rake rails:update --trace
(in C:/@cs/phase2)
rake aborted!
Don''t know how to build task ''rails:update''
2006 Mar 28
3
Rails 1.1: Is HABTM obsolete?
Does the new has_many :through and belongs_to :through obsolete (well,
replace and essentially deprecate) has_and_belongs_to_many?
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Mar 07
2
grep page source
hi all, any one know how to grep page source by rails?
i.e.
i wanna grep html source from http://www.ruby-forum.com/ by ruby code.
regards
--
Posted via http://www.ruby-forum.com/.
2006 Jun 05
18
Ideas for Rails Shirt Graphics
I''ve had a couple ideas for Ruby on Rails shirt graphics for a little
while now:
1. "Fuck You" superimposed over, oh, probably a Ruby gem. Or Rails of
some sort.
2. "Ruby on Rails" superimposed over rails of cocaine. Maybe also with a
graphic of a crazed looking coder.
Anybody got graphics? Or can make them? Heh!
Joe
--
Posted via http://www.ruby-forum.com/.
2006 Jun 30
7
Inspiring Web 2.0 Rails Sites?
Anybody know of any Rails-using web sites that really capture the
essence of the nebulous Web 2.Oh from which ideas, instruction, and
inspiration can be drawn?
BTW, what exactly IS Web 2.0?
Joe
--
Posted via http://www.ruby-forum.com/.
2005 Dec 15
3
Rails: Select and html forms
I''m close to getting this to work, but not quite there. I''m trying to
implement a dropdown control, with the current choice selected.
I have the following code in the view:
5 <select id="product_product_type" name="product[product_type]">
6 <%=
7 types = ProductType.find(:all, :order => "product_type")
8
2006 Feb 05
5
Ruby on Rails Fans
Interesting article with lots of comments. Compares J2EE, .Net, PHP
(flexies vs. stiffies...):
http://shiflett.org/archive/190
Joe
--
Posted via http://www.ruby-forum.com/.