search for: default_formatt

Displaying 6 results from an estimated 6 matches for "default_formatt".

Did you mean: default_format
2006 Jan 13
1
How to disconnect to a database????
...################################################################################# the output of index @connected1: #<ActiveRecord::ConnectionAdapters::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_ent...
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
...vel=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 Jun 16
0
rake spec controller test output hideus.
..../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"=>"200 OK", "cookie"=>[], "Cache-Contro...
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