search for: some_stuff

Displaying 4 results from an estimated 4 matches for "some_stuff".

2006 Mar 14
8
The RoR equivalent of out.write() in JSP?
...tring or returns a string or <% out.write("test") %> //write directly to the output stream. What is the method of "writing to the output stream" in RoR? Basically, what is the equivalent of out.write()? I have an if then statement that I want to put around a call to h some_stuff Thanks, Wes -- Posted via http://www.ruby-forum.com/.
2009 Oct 08
2
how do I name data frames and files according to the index of a for loop?
...my question. This is my first time working with R, though I have some intro-level experience with other languages. I am writing a program that performs a certain set of calculations on each row of a list of data, and here's what I have so far: for (i in 1:2858) { Calc_1 <- some_stuff Calc_2 <- some_more_stuff Calc_3 <- some_other_stuff Data_frame_name <- data.frame(Calc_1, Calc_2, Calc_3) write.table(Data_frame_name,file="~/file/goes/here.csv", append = FALSE, sep = "\t",row.names = FALSE, col.names = c("...
2006 Apr 27
7
RJS & Ajax question...
Hi, I''m trying to convert an older Rails application to use Ajax. I''ve already moved my edit and show actions so that, instead of displaying as separate pages, they appear in a <div> on my list view. However, I have two problems: 1) When the user saves the changes, I want to put all the ajax changes in an RJS template. However, form_remote_tag :url =>{:action =>
2007 Aug 15
10
Objects in Session State Revisited
Hi Folks, I''m still a bit confused about the issue of storing "complex" objects in session state rather than storing simple objects. It''s my understanding that everything is an object in Ruby. If my understanding is correct, then storing a string or an integer in session means storing an object. It would seem then that the problem of storing objects in session is a