search for: curioius

Displaying 3 results from an estimated 3 matches for "curioius".

Did you mean: courious
2006 Sep 12
4
ActiveRecord Validations - validates_uniqueness_of
Hello, I''m wanting to use Mocha and Stubba for my tests in place of the default Rails testing with fixtures. I have the following class: class Person < ActiveRecord::Base validates_uniqueness_of :email end and am wondering how I can test to ensure that the validates_uniqueness_of validation is running. Any ideas? -Jonathan
2005 Feb 16
1
panel/prepanel for polar plots ala xYplot
...the design of a robust, formula-based (including xYplot-like options) radial/polar plot. I'd also be happy to hear of any packages that include something heading in this direction, if they exist and I just didn't locate them. Thanks in advance for any assistance. ---rjp PS. For the curioius, the plot I am designing has a function call like radplot(Cbind(y,ratio)~x|g, groups=h, ...) where y is numeric and x may be numeric or a factor. The resulting plot has "spokes" for each value of x with length y, the last 1 - min(ratio, 1/ratio) fraction of the spoke rendered differ...
2006 Oct 05
0
ActiveRecord Validations - validates_uniqueness_of
...tabase. So my approach tends towards testing the > behaviour (not the implementation) of model classes in the "unit > tests" allowing database interaction, but mocking/stubbing that > behaviour in "functional" and/or "integration" tests. > > I''m curioius to hear other people''s perspective on this. Dave, I''ve been doing a few things like this recently trying to avoid as many database hits as I can. I still haven''t figured out a great way to do this for stock validations, but I am making a point of keeping the database cl...