Displaying 11 results from an estimated 11 matches for "mon_count".
2006 Jan 13
1
How to disconnect to a database????
...ormatter: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 connection:
:password: dbuser
:database: gendb
:host: 1.2.3.4
:port: 5432
:adapter: postgresql
:username: dbuser
@connected2:
#<ActiveRecord::ConnectionAdapters::PostgreSQLAdapter:...
2007 Mar 12
5
index.rb:384 [BUG]
...]
end
2. In the console, I try this:
>> index = Article.ferret_index
=> #<Ferret::Index::Index:0x2b686dc76860 @writer=nil,
@default_input_field=:id, @qp=nil,
@dir=#<Ferret::Store::FSDirectory:0x2b686dc76748>,
@mon_entering_queue=[], @default_field=["title"], @key=:id,
@mon_count=0, @auto_flush=true, @open=true, @close_dir=true,
@id_field=:id, @mon_owner=nil, @reader=nil, @searcher=nil,
@options={:lock_retry_time=>2,
:path=>"script/../config/../config/../index/development/article",
:create_if_missing=>true, :default_field=>["title"],
:analyze...
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 Oct 10
5
oddness when adding to index -
...i = Ferret::I.new
=> #<Ferret::Index::Index:0xb77dc1f4 @options={:default_field=>:*,
:dir=>#<Ferret::Store::RAMDirectory:0xb77dc1b8>,
:analyzer=>#<Ferret::Analysis::StandardAnalyzer:0xb77dc0c8>,
:lock_retry_time=>2}, @mon_entering_queue=[], @qp=nil, @searcher=nil,
@mon_count=0, @default_field=:*, @close_dir=true, @auto_flush=false,
@open=true, @mon_owner=nil, @id_field=:id, @reader=nil,
@mon_waiting_queue=[], @writer=nil, @default_input_field=:id,
@dir=#<Ferret::Store::RAMDirectory:0xb77dc1b8>>
*** Now let''s add 3 strings to the index ***
irb(mai...
2006 May 18
0
Showing SQL in script/console
...r
>> end
>> end
=> nil
>> ActiveRecord::Base.connection.logger = 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 Jun 16
0
rake spec controller test output hideus.
...okies"=>{}, "logger"=>#<Logger:0x2469848
@level=0, @progname=nil, @logdev=#<Logger::LogDevice:0x2469640
@filename="/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...
2006 Aug 28
1
stop words and /''s
Hi new version of ferret and acts as ferret have sorted out the scary
glibc *** linked list pointer errors, thank god! New version are good
but some searches are still not working. It is mostly the stop words
ones. For example the "For Sale/Free/Swap" fails but works when "for" is
stripped out. I have read all the recent posts regarding this issue and
failed to get it to
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 Sep 04
7
0.10.2 release with win32 gem
Hey all,
I''ve just released Ferret version 0.10.2. It is mostly just a bug fix
release. The only change is that a highlight method has been added to
Ferret::Index::Index. Please try it out and let me know what you
think.
The big news for this release is that there is also a binary win32 gem
included. This is the first time I''ve build a gem like this so please
let me know if
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
2007 May 10
5
Segmentation fault on large index
...#39;rubygems''
=> true
irb(main):002:0> require ''ferret''
=> true
irb(main):003:0> index = Ferret::Index::Index.new(:path => "/tmp/myindex")
=> #<Ferret::Index::Index:0xb7b23330 @writer=nil,
@mon_entering_queue=[], @default_input_field=:id, @mon_count=0,
@qp=nil, @default_field=:*,
@options={:dir=>#<Ferret::Store::FSDirectory:0xb7b23308>,
:path=>"/tmp/myindex", :lock_retry_time=>2,
:analyzer=>#<Ferret::Analysis::StandardAnalyzer:0xb7b23268>,
:default_field=>:*}, @mon_owner=nil, @auto_flush=false, @open=true,...