search for: targetlist

Displaying 13 results from an estimated 13 matches for "targetlist".

2006 Mar 14
4
What does the send() method do on a model object?
All, I did a scaffold for a model and I ended up with this code in list.rhtml: <% for column in TargetList.content_columns %> <td><%=h target_list.send(column.name) %></td> <% end %> Where is the "send" method and what does it do? I can''t find it on ActiveRecord::Base? I assume that it returns a value based on the column id but I can''t fi...
2006 Jun 27
3
belongs_to <parent name>, :foreign_key modifier not working
All, I have two ActiveRecord objects. TargetList has_many Targets Targets belongs_to TargetList I''ve specified belongs_to :target_list, :foreign_key => ''DataSetID'' Queries generated by various methods in target_list do not seem to see the foreign_key name and keep trying to query my Target table usin...
2018 Apr 28
4
sysvol files - 'The data area passed to a system call is too small'
On Fri, 27 Apr 2018 22:40:41 +0100 Jonathan Hunter via samba <samba at lists.samba.org> wrote: > OK - some more detail I have found in the meantime. > > I have compiled & ran listxattr, and I can now see a difference > between a working and a broken file: > > me at dc2:~/download $ > sudo ./listxattr /usr/local/samba/var/locks/sysvol/ >
2009 Nov 15
3
Error running lda example from Help File (MASS library )
Hello all, I'm trying to run lda() from the MASS library but the Help example generates the following error: #Code from example in lda Help file # Resulting Error >Error in if (targetlist[i] == stringname) { : argument is of length zero My Current R Installation: MacOSX: 10.5.8 R: 2.10.0 -- Gregory Riddick, PhD. CRTA Research Fellow National Institutes of Health National Cancer Institute, Neuro-Oncology Branch http://home.ccr.cancer.gov/nob/ 37 Convent Drive Building 37, Ro...
2006 Jul 11
4
checkboxes with a has_many :through relation
All, I''m populating a view with checkboxes in a list. I want to be able to assign to my has_many relationship using the post values of these checkboxes. Essentially, I want to populate the relationship table which will create the correct join values in my model. Here is my check_box_tag code: <%= check_box_tag("@current_job[target_list_ids][]",
2006 Mar 18
9
Using <%= text_field %> within partials is problematic
...@target_lists when I render. However, if I do this: <%= text_field :target_lists, :name %> I get "undefined method `name'' for #<Array:0x38380f0>" on the line with the text_field call. If I do this: <%= text_field target_lists, :name %> I get `@#<TargetList:0x3a1ae50>'' is not allowed as an instance variable name. How can I successfully use the <%= text_field %> call within a partial on each element of a collection that is being passed in? Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2006 Mar 20
5
Wrap error_messages_for() call when no instance var present
I am trying to put some smarts around a call to <%= error_messages_for %> so that when I first come into this page i.e. when my instance variable @target_list has not been defined yet, the page doesn''t break. I''m doing this: <% if @target_list? %> <%= error_messages_for ''target_list'' %> <% end %> I get a syntax error on line 1.
2018 Apr 28
0
sysvol files - 'The data area passed to a system call is too small'
...n rsync trigger (with of course the caveat that I now don't think it works in a multi-master configuration) -- automation from https://gist.github.com/oscarssama/8bc223c8100890f71a07a5a6dc16a7f6 settings { statusFile = "/run/lsyncd-status.log", statusInterval = 10 } targetList = { "1.1.1.1", "1.1.1.2", "1.1.1.3", "1.1.1.4" } for _, server in ipairs(targetList) do sync { default.rsync, source = "/usr/local/samba/var/locks/sysvol/",...
2009 Nov 17
1
Error running lda example: Session Info
...a.frame(rbind(iris3[,,1], iris3[,,2], iris3[,,3]), + Sp = rep(c("s","c","v"), rep(50,3))) > train <- sample(1:150, 75) > table(Iris$Sp[train]) c s v 22 23 30 > z <- lda(Sp ~ ., Iris, prior = c(1,1,1)/3, subset = train) Error in if (targetlist[i] == stringname) { : argument is of length zero > > sessionInfo() R version 2.10.0 (2009-10-26) i386-apple-darwin9.8.0 locale: [1] en_US.UTF-8/en_US.UTF-8/C/C/en_US.UTF-8/en_US.UTF-8 attached base packages: [1] stats graphics grDevices utils datasets methods base other attache...
2018 Apr 29
1
sysvol files - 'The data area passed to a system call is too small'
...on't think it works in a multi-master > configuration) > > > -- automation from > https://gist.github.com/oscarssama/8bc223c8100890f71a07a5a6dc16a7f6 > settings { > statusFile = "/run/lsyncd-status.log", > statusInterval = 10 > } > > targetList = { > "1.1.1.1", > "1.1.1.2", > "1.1.1.3", > "1.1.1.4" > } > > for _, server in ipairs(targetList) do > sync { > default.rsync, > source = "/usr/loc...
2018 Apr 29
1
sysvol files - 'The data area passed to a system call is too small'
...> don't think it works in a multi-master configuration) > > > -- automation from > https://gist.github.com/oscarssama/8bc223c8100890f71a07a5a6dc16a7f6 > settings { > statusFile = "/run/lsyncd-status.log", > statusInterval = 10 > } > > targetList = { > "1.1.1.1", > "1.1.1.2", > "1.1.1.3", > "1.1.1.4" > } > > for _, server in ipairs(targetList) do > sync { > default.rsync, > source = "/u...
2006 Jul 10
10
has_many :through and foreign key parameters
I just took my HABTM and turned it into a :through since my join table has another "non-joiny" attribute. I went from this: has_many_and_belongs_to :jobs, :join_table => ''tablename'', :foreign_key => ''x'', :association_foreign_key => ''y'' to this: has_many :jobs, :through =>
2013 Jan 17
0
XCP 1.1 SR_BACKEND_FAILURE_46 The VDI is not available [opterr=VDI already attached RW] issue
...IQN'': ''iqn.2011-04.cz.vshosting:storage1.cloud1'', ''SRmaster'': ''true'', ''device'': ''/dev/disk/by-id/scsi-26c756e3020636239'', ''SCSIid'': ''26c756e3020636239'', ''targetlist'': ''172.16.132.1''}, ''command'': ''vdi_activate'', ''vdi_allow_caching'': ''false'', ''sr_ref'': ''OpaqueRef:9fc8a54a-dd45-4313-f783-7883b3335604'', ''vdi_uuid'...