Displaying 2 results from an estimated 2 matches for "updatex".
Did you mean:
update
2000 Jul 04
1
nlme errors ?
Dear friends. Below is ouput directly from the help on qqnorm.lme.html
It do not seem to work as expected - on win98, R 1.1, although the
regression is undertaken, so qqnorm
misunderstands, or what ?
library(nlme)
data(Orthodont)
fm1 <- lme(distance ~ age, Orthodont, random = ~ age | Subject)
# normal plot of standardized residuals by gender
qqnorm(fm1, ~ resid(., type = "p") | Sex,
2006 Aug 10
0
Updating a database record using Javascript variables
...be doing this?
Below is a simplified version of the code I am trying to produce:
View:
<script type="text/javascript">
<!--
function my_Func()
{
varx = dd.obj.x;
// Not sure how to call the controller in the next line
<%= render_component :action => ''updatex'', :xvalue => varx %>
}
-->
</script>
Controller:
Def updatex
Person.update(10, {:xvalue => params[:xvalue]})
end
--
Posted via http://www.ruby-forum.com/.