Displaying 5 results from an estimated 5 matches for "question_".
Did you mean:
question
2006 Aug 07
1
Unable to page.replace_html from rjs
...dating a div defined in a partial using both
Element.update and page.replace_html in an rjs. I can put a
link_to_remote in the partial using an :update, and the div updates
fine. Does anyone have any idea why this might be happening?
In the partial:
<div><div>
.
.
<div id="question_<%=question.id%>_error"></div>
.
(if a link_to_remote is here it works)
.
In the rjs:
page.replace_html "question_#{question_id}_error", "foobar"
Thanks!
--
Posted via http://www.ruby-forum.com/.
2006 Apr 10
1
Error When Sorting
...estions">
<%= render(:partial => "list_questions") %>
</div>
<%= sortable_element("sortable_list", :complete =>
visual_effect(:highlight, "sortable_list"), :update => "question", :url
=> {:action => "update_question_positions", :id => @test.id }) %>
#view _list_questions
<ol id="sortable_list" class="sort">
<% @test.questions.each do |question| -%>
<li class="green" id="question_<%= question.id
%>">question.question %>...
2011 Feb 04
2
Avoiding two loops
Hello,
I have a R code for doing convolution of two functions:
convolveSlow <- function(x, y) {
nx <- length(x); ny <- length(y)
xy <- numeric(nx + ny - 1)
for(i in seq(length = nx)) {
xi <- x[[i]]
for(j in seq(length = ny)) {
ij <- i+j-1
xy[[ij]] <- xy[[ij]] + xi * y[[j]]
}
}
xy
}
How do I reduce the 2
2011 Sep 09
1
Saving Rcpp Objects for Future Use
Hello,
I have recently been doing some research regarding how to successfully save
and load Rcpp Objects ( objects from modules ) for future use, but with
little success. For example, to use the example package (from package
skeleton) in Rcpp:
>library(Rcpp)
>Rcpp.package.skeleton("rdevelhelp", module=TRUE)
...
> q()
// install rdevelhelp using R CMD INSTALL
// load new R
2020 May 22
2
Add metadata to fallback mount?
On 5/21/2020 1:10 AM, Philipp Schafft wrote:
> Good morning,
>
> On Sat, 2020-05-16 at 12:30 -0700, Jack Elliott wrote:
>> Hi, I'm pretty sure this isn't going to be possible, but I'll ask. I'd
>> like to add a <stream-title> to my fallback mount so when the main
>> stream mount drops and the fallback kicks in, that the connected player
>>