search for: shift_siz

Displaying 7 results from an estimated 7 matches for "shift_siz".

Did you mean: shift_size
2006 Jan 13
1
How to disconnect to a database????
...tionAdapters::PostgreSQLAdapter:0x2aaaac138930 @runtime=0.0189187526702881, @connection=#<PGconn:0x2aaaac138980>, @logger=#<Logger:0x2aaaac2e7fd8 @default_formatter=#<Logger::Formatter:0x2aaaac2e7dd0 @datetime_format=nil>, @progname=nil, @logdev=#<Logger::LogDevice:0x2aaaac2e7ce0 @shift_size=1048576, @shift_age=0, @filename="./log/development.log", @mutex=#<Logger::LogDevice::LogDeviceMutex:0x2aaaac2e7c90 @mon_waiting_queue=[], @mon_entering_queue=[], @mon_count=0, @mon_owner=nil>, @dev=#<File:./log/development.log>>, @level=0, @formatter=nil>> removed...
2008 Jul 08
6
Show SQL request without issuing it
Hi all, I saw that some object.save is causing the SQL request to crash, but I don''t see the SQL request in the logs (only ruby code that''s showing an error during the .save method). Is there any way to show the SQL request before it''s issued to the database ? -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received
2006 May 18
0
Showing SQL in script/console
...= Logger.new(STDOUT) => #<Logger:0x866a89f4 @level=0, @progname=nil, @logdev=#<Logger::LogDevice:0x866a7f7c @filename=nil, @mutex=#<Logger::LogDevice::LogDeviceMutex:0x865c1c34 @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @mon_waiting_queue=[]>, @dev=#<IO:0x817acafc>, @shift_size=nil, @shift_age=nil>, @formatter=nil, @default_formatter=#<Logger::Formatter:0x866a8814 @datetime_format=nil>> >> Jeremy
2006 Jan 11
1
logger in my classes
Hi, I wrote a class which is not an AR extension, nor a controller. I''d like to use logger.* methods there too. My class is in lib/ dir. I include it in environment.rb with the line require ''lib/localization'' just after the line require File.join(File.dirname(__FILE__), ''boot'') I tried many ways to reuse the logger class. The cleaner way seemed to
2006 Jun 16
0
rake spec controller test output hideus.
...quot;/Users/jgb/Development/Rails/learningruby/config/../log/test.log", @mutex=#<Logger::LogDevice::LogDeviceMutex:0x2469550 @mon_entering_queue=[], @mon_count=0, @mon_owner=nil, @mon_waiting_queue=[]>, @dev=#<File:/Users/jgb/Development/Rails/learningruby/config/../log/test.log>, @shift_size=1048576, @shift_age=0>, @formatter=nil, @default_formatter=#<Logger::Formatter:0x24696cc @datetime_format=nil>>, "flash"=>{:warning=>"Signup unsuccessful"}, "before_filter_chain_aborted"=>false, "headers"=>{"Status"=>&quo...
2006 Jan 05
7
HOWTO: Combine fields from 2 two tables in 1 object
Hi all, For a dropdownlist (showing "Company - FirstName Lastname'') I want to fill an object @project_contacts with "Name" from table Companies and "Firstname" and "Lastname" from table contacts. Any idea? Regards, Gerard. -- "Who cares if it doesn''t do anything? It was made with our new Triple-Iso-Bifurcated-Krypton-Gate-MOS
2006 Dec 14
8
ActiveRecord outside of rails
I have a few questions regarding using activerecord outside of rails. Usage is with legacy databases, which gives rise to some of the problems. Probably the first, and most simple question though, is how to capture the SQL log, with which I can hopefully figure the other stuff out. I''m currently trying ActiveRecord::Base.logger = Logger.new STDOUT Based on random googles, but it