search for: question_number

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

2006 Jul 09
2
filters
...t of points the user has accumilated, so that in the end i can pick that out and use it for my application (specifics, not important) so everything is good, until i want to reset the session to zero; i want to reset the session when a certain params variable is equal to zero - - i have a params[:question_number] in the action ( the uri looks like www.localhost:3000/polls/questioniere/1?question_number=0) so i decided to run a before_filter :zeroize_point_if_start_questioniere where i defined it def.. if params[:question_number] == 0 @session[:aquired_points] = 0 end end it didn''t work....
2010 Apr 28
7
operator problem within function
Dear all, i have a problem with processing dataframes within a function using the "$". HereĀ“s my code: recode_items = function(dataframe,number,medium=2){ # this works q<-paste("columna",number,sep="") # this does not work, particularly because "dataframe" is not processed # dataframe should be: givenframe$columnagivennumber
2006 Apr 24
4
Does Rails need more useful form helpers?
I have been using rails professionally for only a month and a half now, but I am continually running into problems with form helpers and accessing multiple objects on a single page. To whit: 1. While text_field and text_area and such all support the :index option, the select helper does not. 2. When appending the text ''[]'' to a helper''s object name, the id is
2006 May 17
6
newbie wants to know..FasterCSV or just CSV?
I''m trying to grab a CSV file from a user and let them upload it directly to my database, but doing some minor checks on the data before saving. Which is the easier way to implement this? CSV or FasterCSV? I saw that perhaps there were some issues with FasterCSV and csv files created from Mac versions of Excel. Anyone have any experience with this and can recommend a newbie friendly