Displaying 11 results from an estimated 11 matches for "obect".
Did you mean:
object
2006 Jun 20
3
Saving an array of objects
How do I save an array of obects into the database?
For now I am doing
for a in array
a.save
end.
I am sure there must be an easy way to do this.
--
Posted via http://www.ruby-forum.com/.
2006 Apr 03
3
How do I programmatically send a 404 error
I want to programmatically under certain conditions return a 404 (page
not found) error to the browser. How can I do this from my controller?
I''m assuming I need to set a header on the reponse obect. However I
can''t figure out what the header name is.
thanks, scott.
--
Posted via http://www.ruby-forum.com/.
2006 Jun 26
2
Prototype Ajax event handlers
I''ve been trying to use the prototype.js Ajax obect''s event handlers (onCreate, onComplete) inside the options tags as
below:
function updateCalendar(today, id){
new Ajax.Updater("calendars", "calendar.inc.php",
{asynchronous: true,
onCreate: function(){ showBusy },
onComplete: function(){ hideBusy }...
2023 Nov 30
1
Win ACL share Perm and recycle bin
...oro/
> read only = no
> include = /etc/samba/cestino.conf
>
> cestino.conf
> vfs objects = recycle
I have removed most of the lines from your fileservers smb.conf,
leaving only what I believe to be the relevant lines.
You initial use vfs_acl_xattr in global, but your 'vfs obects' line in
your 'include' file seems to turn it off again, try:
vfs objects = recycle acl_xattr
in your 'include' file.
Rowland
2012 Jun 11
1
saving sublist lda object with save.image()
...save.image('ldalists.Rdata')
###Now if I close my R buffer and reopen it I get:
> load('ldalists.Rdata')
> plot(list2[[1]][[2]])
Error in xy.coords(x, y, xlabel, ylabel, log) :
'x' is a list, but does not have components 'x' and 'y'
### And my lda obects appear to have changed and look like:
> list2[[1]][[2]]
$prior
setosa versicolor virginica
0.3333333 0.3333333 0.3333333
$counts
setosa versicolor virginica
50 50 50
$means
Sepal.Length Sepal.Width Petal.Length Petal.Width
setosa 5.00...
2006 Jun 15
1
Repost: Estimation when interaction is present: How do I get get the parameters from nlme?
...les and Ripley, however
they only had one treatment and I have two.
my approach
The dataframe is structured like this:
expt treatA treatB dose force.
1 - - 0.1 20
1 - - 0.2 40
...
4 + + 0.1 20
4 +
I used a groupedData object: mydata=groupedData(force ~ dose | expt)
I used an nlme obect to model the data as follows (pseudocode):
myfit.nlme <- nlme(force ~ ss_tpl(dose, upper, ed50,slope),
fixed=list(ed50~factor(treatA)*factor(treatB)))
The function ss_tpl is a properly debugged and fully functional
selfstarting three parameter logistic function that I wrote- no problem
her...
2006 Jun 09
0
interaction terms in regression analysis
...nd +). Each set of measurements is
obtained on a muscle from a different animal (i.e. each dose response
curve represents an independent experiment).
The data are stored as follows:
expt treatA treatB dose force
I use a groupedData object mydata=groupedData(force ~ dose | expt)
I used an nlme obect to model the data as follows (pseudocode):
myfit <- nlme(force ~ ssThreeParLogistic(dose, upper, ed50,slope),
fixed=list(ed50~factor(treatmentA)*factor(treatmentC)))
The ThreeParLogistic is a properly debugged and fully functional
selfstarting object that I wrote- no problem here. I also in...
2006 Mar 09
0
Multivariate Autoregressive Model calibration and residual testing
...using not a single time
series, but several of them: each time series should be seen as one
"independent" realisation of the mAr process; for instance this happens
when you have a time series with lacking data (holes) : if I have two
time series and a hiatus in the middle, I would like my obective
function in the calibration to be the sum of the two classical objective
function, one for each continuous time series. Is there a function in R
that could do this type of estimation? Or is there a nice way to do that
by modifying the objective function within the mAr.est function (I tried
but t...
2023 Nov 30
1
Win ACL share Perm and recycle bin
Hi
I've set up a domain with 2 dc (samba 4.16.10 - debian 11) a fileserver ( 4.15.13 ubuntu 22) , and 50 windows client.
fileserver has a few share with win ACL ( I follow [ https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs | https://wiki.samba.org/index.php/Setting_up_a_Share_Using_Windows_ACLs ] ) .
Everythings works fine and I can setup security access for that
2009 Mar 14
9
null object pattern
I am trying to create a null object in my application. I would like to
assigned a null user object for anonymous/ mot-logged-in user, i.e. if
session variable has nil data.
In my User model, I have created a subclass like this:
class UnassignedUser < User
def save
false
end
def update
false
end
def username
"Unassigned"
end
def county_id
2006 Jul 21
20
Struts vs RoR
hi,
I recently attended one of the ruby meetings that we have in my city.
There one of the speaker said that google,amazon .. are working on RoR
but still the performance of RoR is not at par with J2EE others....
he meant that though google,amazon working o it they will not bring it as
front applications only parts
the reason ruby is slow in comparison to other languages....
and in real time