search for: your_objects

Displaying 7 results from an estimated 7 matches for "your_objects".

Did you mean: your_object
2010 Sep 14
3
Numericality validation strips chars from original entry
I''ve noticed that if I use the numericality validator and the user enters, for example "1234ABCD" it''ll come back with a "not a number" error, but it then fills the input box with "1234", discarding the non- numeric input the user originally put in. I''ve seen a similar question about this in this group, but the poster was looking for a way
2007 Jan 23
7
Ajax
Hi, I need some help. I`m developing a data base administrator using ruby and ajax, both for the first time and I have a problem: I have a form where you can add or delete some information about a person., information related with their studies. There is no problem when I add, but when I delete, it deletes from the database but when I try to save it throughs me an error because it tries to find
2007 Apr 11
1
Fwd: [ mocha-Bugs-5892 ] Using a setup method in test_case_class destroys subsequent test cases
...providing that you run only that test file. If you run several such files, subsequent ones throw exceptions because the Stubba method setup_stubs is no longer getting called (your test case setup method has overwritten it) and thus $stubba is nil. The error you actually see, if you are usings @your_objects.stubs().... is something like: NoMethodError: You have a nil object when you didn''t expect it! The error occurred while evaluating nil.stub ---------------------------------------------------------------------- >Comment By: James Mead (jamesmead) Date: 2007-04-11 14:24 Messag...
2008 Jan 02
1
extracting pvalue from ANOVA with repeated measures
I made an ANOVA with repeated mesures (aov(Mesure~Distance*Genre*Correct+Error(Sujet/(Distance*Genre*Correct)), data)) and I would like to extract the pvalues. The output is: ----------------------------------------------------------- Error: Sujet Df Sum Sq Mean Sq F value Pr(>F) Residuals 21 97.082 4.623 Error: Sujet:Distance Df Sum Sq Mean Sq F value Pr(>F) Distance
2009 Jul 02
4
(no subject)
Hi Guys, It is very simple question, but I can't find the answer! Please help me. I use R and such simple function as length() doesn't work. The result is always 1 even if my data are more then 1 observations! Do I have to load any additional library? > length(Ret_1) [1] 1 > length function (x) .Primitive("length") Thank you!!! -- Best regards, Andy Fetsun
2006 Aug 10
5
RJS in Internet Explorer to update a list box
Hi, I''m trying some RJS to update a series of list boxes in which the user selects a state, and the following list gets updated with a list of counties, and the same for the next list of areas. My code works perfectly (albeit a bit slow) on Firefox, but on Internet Explorer it clears the list box (instead of filling it) and Netscape shows all the counties cramped together on one
2011 Aug 25
7
How to safely embed JSON object in HTML document
Hi all, I''m working on a Backbone.js single page app with Rails 3.1, and in an attempt to save on HTTP requests, I want to embed initial data set in a HTML document that is sent back to the browser after successful login. I was thinking I can simply convert my ruby object to JSON, then HTML escape resulting string of JSON, and then use that as a value for JavaScript variable. Something