search for: category_count

Displaying 4 results from an estimated 4 matches for "category_count".

2007 Feb 17
5
render collection with index
Is there any method for getting the current iteration (for changing row colors) in the category partial? <%=render(:partial => "category", :collection => @categories)%> thanks, andy -- Andrew Stone --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post
2006 May 21
6
Possible problems with EventLog#write
...x2 SymbolicName=CATEGORY_WARNING Language=English warning . MessageId=0x3 Severity=Error SymbolicName=FOO_ERROR Language=English Error: %1 . # add.rb dll_file = Dir.pwd + ''/foo.dll'' EventLog.add_event_source( "key_name" => "foo", "category_count" => 2, "event_message_file" => dll_file, "category_message_file" => dll_file ) # test.rb require ''win32/eventlog'' include Win32 log = EventLog.open log.write( :source => ''foo'', :data =&gt...
2007 Nov 28
4
Can''t write to "Windows PowerShell" source with win32-eventlog
...c file in the ''test'' directory, and try the following code: require ''win32/eventlog'' include Win32 EventLog.add_event_source( :source => ''Windows PowerShell'', :key_name => ''foo'', :category_count => 2, :event_message_file => ''foo.dll'', :category_message_file => ''foo.dll'' ) EventLog.open(''Windows PowerShell'') do |log| log.report_event( :source => "foo", :event_type => Event...
2007 Dec 04
4
eventlog
Hi, Hm, the string inserts are different, too. Any encoding issues? Your user name uses extended ASCII, too, right? Not sure if that''s significant or not. I''ve cc''d the win32utils-devel list to see if anyone has any ideas. Thanks, Dan botp wrote: > On 12/4/07, Daniel Berger <djberg96 at gmail.com> wrote: >> Can you tell us which record numbers in