Displaying 20 results from an estimated 36 matches for "event_type".
2005 Mar 10
2
NoMethodError in Event_type#create
I am new Ruby on Rails, so excuse me if my question seems pretty obvious.
I am trying to validate uniqueness of a filed:
class EventType < ActiveRecord::Base
belongs_to :sport
validates_uniqueness_of :event_type
end
When I run it, I get this error message:
Showing /event_type/new.rhtml where line #27 raised undefined method
`each'' for nil:NilClass
<select name="event_type[sport_id]">
27: <% @sports.each do |sport| %>
28: <option value="<%= sport.id %...
2017 Jun 26
3
Model studies in one analysis using treatment as a five level moderator in a meta-regression
...m
Shared with Dropbox
library(meta)
library(stargazer)
library(foreign)
All <-read.spss("C:\\Users\\313635aa.STUDENT\\Desktop\\Meta-Analyse Complications and Reoperations.sav",to.data.frame = T, use.value.labels = T)
All <- na.omit(All)
Complications <- All[which(All[,"Event_Type"] == "Complications"),]
Re_operation <- All[which(All[,"Event_Type"] == "Reoperations"),]
EF <- All[which(All[,"Treatment"] == "EF"),]
IMN <- All[which(All[,"Treatment"] == "IMN"),]
pc <- All[which(All[,"Tr...
2017 Jun 26
0
Model studies in one analysis using treatment as a five level moderator in a meta-regression
...brary(stargazer)
> library(foreign)
>
> All <-read.spss("C:\\Users\\313635aa.STUDENT\\Desktop\\Meta-Analyse
> Complications and Reoperations.sav",to.data.frame = T,
> use.value.labels = T)
> All <- na.omit(All)
>
> Complications <- All[which(All[,"Event_Type"] == "Complications"),]
> Re_operation <- All[which(All[,"Event_Type"] == "Reoperations"),]
>
> EF <- All[which(All[,"Treatment"] == "EF"),]
> IMN <- All[which(All[,"Treatment"] == "IMN"),]
> pc <-...
2017 Jun 26
1
Model studies in one analysis using treatment as a five level moderator in a meta-regression
...zer)
>> library(foreign)
>>
>> All <-read.spss("C:\\Users\\313635aa.STUDENT\\Desktop\\Meta-Analyse Complications and Reoperations.sav",to.data.frame = T, use.value.labels = T)
>> All <- na.omit(All)
>>
>> Complications <- All[which(All[,"Event_Type"] == "Complications"),]
>> Re_operation <- All[which(All[,"Event_Type"] == "Reoperations"),]
>>
>> EF <- All[which(All[,"Treatment"] == "EF"),]
>> IMN <- All[which(All[,"Treatment"] == "IMN"...
2006 Aug 03
1
[ win32utils-Bugs-5285 ] event_type is not recognized properly
...tem #5285, was opened at 2006-08-03 07:35
You can respond by visiting:
http://rubyforge.org/tracker/?func=detail&atid=411&aid=5285&group_id=85
Category: win32-eventlog
Group: Code
Status: Open
Resolution: None
Priority: 3
Submitted By: Nobody (None)
Assigned to: Nobody (None)
Summary: event_type is not recognized properly
Initial Comment:
Ver:0.4.1
Line 469
event_type = get_event_type(buf[24,2].unpack(''S'').first)
Should be placed into "while dwread > 0" loop.
by
TheR
----------------------------------------------------------------------...
2010 Jun 24
0
Nested Model Forms
...me_unit_ids[]''.
The nested forms work without the habtm (time_unit_ids[]) so things are
pretty much set up okay.
Here''s the set up (obviously well and truly stripped back). Hopefully
someone can see something I''m missing.
CIA -ants
Models:
event_category:
has_many :event_types
accepts_nested_attributes_for :event_types
event_type:
has_and_belongs_to_many :time_units
has_many :events
belongs_to :event_category
accepts_nested_attributes_for :events
event:
belongs_to :event_type
controller new action has ...
@event_category.event_types.build
@event_...
2017 Jun 29
2
Change Rcode for a meta-analysis(netmeta) to use a random effects model instead of a mixed effects model
...ffects model. Is it possible to change the code so a random effects model is used?
Thank you very much,
Jay
R code
library(meta) library(readxl) All <- read_excel("Basics excel file complication and reoperation rate.xlsx", sheet=1) names(All) <- c("Study_ID","Event_Type","Treatment","Events_n","N","nN") All$Treatment <- factor(All$Treatment, levels=c("PC","EF","IMN","KW","VPO")) # Outcomes Complications <- subset(All, Event_Type=="Complications") Reoperat...
2017 Jun 29
0
Change Rcode for a meta-analysis(netmeta) to use a random effects model instead of a mixed effects model
...the code so a random effects
>model is used?
>
>Thank you very much,
>
>Jay
>
>R code
>
>library(meta) library(readxl) All <- read_excel("Basics excel file
>complication and reoperation rate.xlsx", sheet=1) names(All) <-
>c("Study_ID","Event_Type","Treatment","Events_n","N","nN") All$Treatment
><- factor(All$Treatment, levels=c("PC","EF","IMN","KW","VPO")) # Outcomes
>Complications <- subset(All, Event_Type=="Complications")...
2010 Oct 27
1
reading multiple XML files into an R table
...G2, G3</affected_units>
- <#> <umm predecessor_id="*0*" parent_id="*5244*" new_followup="*New*"u_id
="*5244*">
<event_start>19.07.04 hour 11:15</event_start>
<registered>19.07.04 hour 11:15</registered>
<event_type>Production failure</event_type>
<status>Approved and does not have a Followup</status>
<decission>19.07.04 hour 11:15</decission>
<event_stop />
<predefined_remark />
<approved>19.07.04 hour 11:17</approved>
<affected_are...
2006 May 17
3
Need a little help with the pureRubywin32-eventlog
...>
> Dan
Here''s some more info. Using the C version of win32-eventlog I can see
the record in question looks like this:
#<struct Struct::EventLogStruct record_number=12302, time_generated=Sat
Mar 18 23:13:43 MST 2006, ti
me_written=Sat Mar 18 23:13:43 MST 2006, event_id=11203,
event_type="error", category=0, source="Sms
Client", computer="CO3840GDJBERGEX", user=nil, description="Software
updates evaluation failed: coul
d not locate the scan component of the specified software update
inventory tool. The scan component
advertisement might not have...
2007 May 10
6
Where put buissness logic?
I''ve always think that it belongs to controller but I''ve read few
articles that it should be done by model and controller should be thin
glue betwean model and view. Where should I put it?
Regards
--
I''ve probably left my head... somewhere. Please wait untill I find it.
Homepage (pl_PL): http://uzytkownik.jogger.pl/
(GNU/)Linux User: #425935 (see
2007 Nov 28
4
Can''t write to "Windows PowerShell" source with win32-eventlog
...;,
: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 => EventLog::WARN,
:category => "0x00000002L".hex,
:event_id => "0x00000003L".hex,
:data => "I''m warning you!"
)
end
As Tim mentioned, this doesn''t raise an error. It just doesn''t seem to
do an...
2006 May 20
0
EventLog#tail is broken
...gt; true
irb(main):002:0> include Win32
=> Object
irb(main):003:0> EventLog.open(''Security'').tail{ |log| p log }
#<struct Struct::EventLogStruct record_number=15399, time_generated=Fri
May 19 19:54:25 MDT 2006, time_written=Fri May 1
9 19:54:25 MDT 2006, event_id=680, event_type="audit failure",
category=9, source="Security", computer="IMPERATOR", user
="SYSTEM", description="Logon attempt by:
MICROSOFT_AUTHENTICATION_PACKAGE_V1_0\r\n\r\nLogon account:
Daniel\r\n\r\nSou
rce Workstation: IMPERATOR\r\n\r\nError Code: 0xC000006A...
2006 May 17
1
Need a little help with the pure Ruby win32-eventlog
Hi all,
I''m working on the EventLog#read method for the pure Ruby version of
win32-eventlog, but I''m stuck on the get_description private method.
Here are the problems:
* I don''t think I''m advancing the EVENTLOGRECORD properly between
iterations. Take a look at the end of the "while dwread > 0" loop. I
get some records, but not all of them.
2013 Nov 25
3
[PATCH 0/2] Coverity fixes for tools/firmware
These two fixes are the final two outstanding issues in tools/firmware. They
are both quite minor.
Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
--
1.7.10.4
2006 May 30
1
Syslogging and remote installer (was RE: seg on windows-pr-0.5.1 (was RE: win32-eventlog 0.4.0))
...argh, this is getting tricky. i''m getting empty records and weird characters too :)
>
> --------
> record_number : 20983290
> time_generated : Tue May 30 16:15:27 China Standard Time 2006
> time_written : Tue May 30 16:15:27 China Standard Time 2006
> event_id : 642
> event_type : audit_success
> category : 7
> description : User Account Changed:
> Target Account Name: ztest2
> Target Domain: DMPI
> Target Account ID: ?
> ??????21-1995071569-205336168-60295696-9240}
> Caller User Name: pe?aijm
>...
2006 May 21
6
Possible problems with EventLog#write
...category_message_file" => dll_file
)
# test.rb
require ''win32/eventlog''
include Win32
log = EventLog.open
log.write(
:source => ''foo'',
:data => ''test'',
:category => 0x2,
:event_id => 0x3,
:event_type => EventLog::WARN
)
log.close
I also made sure that it wasn''t a path separator issue by doing a
String#tr in the add_event_source, but that didn''t seem to matter.
Also, I''m not sure that doing File.expand_path on the dll name within
add_event_source is a good idea...
2010 Aug 19
4
implementing project management and event types
I am implemented a simple project management application. Each
project has various events, and each event can be a different type.
Some event information is common, such as name, start date, close
date, and comments. I have a projects table which has_many events.
My plan is to have several sub-event tables, like event_get_access
which will contain an event_id field to link it to table events as
2007 Aug 05
1
[PATCH] Unbound modifiers and CompNoMask
...CompActionState state;
CompAction *action;
- unsigned int modMask = REAL_MOD_MASK & ~d->ignoredModMask;
+ unsigned int modMask = (REAL_MOD_MASK & ~d->ignoredModMask)
+ | CompNoMask;
unsigned int bindMods;
if (event->event_type == KeyPress)
--
1.5.2.4