search for: coupons

Displaying 20 results from an estimated 78 matches for "coupons".

Did you mean: coupon
2008 Jan 23
18
Not seeing the failure
All, I''m missing something simple, I think. I am writing a spec to say that my CouponController should create a new coupon from the form parameters, then set the current user. Here''s the spec: describe CouponController, "When posting to save_coupon" do before(:each) do @expectedName = "pepper''s" @expectedAmount = 5 coupon =
2008 Jan 15
4
Okay, I''m finally asking for help
Hi, all! I would love if someone could help me figure this out. I can''t seem to see why the following fails: Here''s the spec: it "should redirect back to the index page" do Coupon.should_receive (:new).with({"name"=>@expectedName,"amount"=>@expectedAmount}).and_return(@coupon) @coupon.should_receive(:save) response.should
2011 Feb 09
1
help with operations inside matrix
Hello World! I'm working on my thesis right now (something about financial immunization) I'm currently working in the basics, doing a matrix that lists the present value (or weight) of every combination of coupon rate and term to maturity, this is the code I have right now which is giving me a "longer object length is not a multiple of shorter object length" #start
2006 Feb 18
2
Conversion to Adjacency Matrix
...by each participant. COUPON1-COUPON7 are unique coupon numbers distributed to other participants. About 15 participants were "seeds" who distributed coupon numbers but did not receive a coupon from another participant. Many participants (including some seeds) did not distribute any coupons. Any ideas about how to make this conversion would be greatly appreciated. -- Chuck Cleland, Ph.D. NDRI, Inc. 71 West 23rd Street, 8th floor New York, NY 10010 tel: (212) 845-4495 (Tu, Th) tel: (732) 452-1424 (M, W, F) fax: (917) 438-0894
2006 Jun 26
1
Designing a Coupon System
I''m racking my brain trying to figure out a good method for a coupon system for our ecommerce site. Basically We have a variety of consditions for certain coupons and a variety of effects. Some examples: 1. 5% off any order 2. Free shipping on orders over $50 3. Free shipping on an order if a product foo is part of the order 4. 10% off product foo 5. 5% off entire order if product foo is in the order So I need to somehow store the properties of a coupon,...
2011 Apr 20
1
New Codeweavers CrossOver discount dealcode coupons avaliabl
...hey also have a promotion going on for Power BibleCD users, this isn't a dealcode but a promotion. You will need to go to this page and purchase CrossOver with a 25% discount just for Power BibleCD users. http://www.wine-reviews.net/wine-reviews/news/new-codeweavers-crossover-discount-dealcode-coupons-avaliable.html
2011 Sep 02
0
Re: New Codeweavers CrossOver discount dealcode coupons avaliabl
Avent Coupons can go a long way in improve the quality of your child?s well being. The best way to look out for these coupons is on internet. But that does not mean it is the only way. These are available in America?s finest magazines about parenting and child upbringing. But still there is no denying that fact...
2008 Jan 13
10
.html.erb files and autotest
When I work with a .html.erb file, the autotest rspec on rails stuff doesn''t understand the file to map it to the right test. I wanted to submit a patch for this, but I''m unsure where the specs would be to update. I found the necessary mapping in rspec_autotest.rb, but I can''t find any specs anywhere. Help? I just need to have /app/views/coupon/index.html.erb to map to
2023 Aug 01
2
Plotting Fitted vs Observed Values in Logistic Regression Model
...mes = c(NA, -8L), class = "data.frame") A brief description of the dataset: Index: is just a column that shows the ID of each observation (row) x: is a column which gives information on the discount rate of the coupon n: is the sample or number of observations r: is the count of redeemed coupons ratio: is just the ratio of redeemed coupons to n (total number of observations) #Fitting a logistic regression model to response variable y for problem 13.4 logistic_regmod2 <- glm(formula = ratio~x, family = binomial(logit), data = random_mod12_data2) I would like to plot the value of r (in...
2017 Oct 03
1
Multiple test of proportion in r
Dear all I'm currently facing the following situation. We have run a marketing campaign providing to some members one of two type of coupones. In addition to this, some of these members were already touched in the short past by another campaign. So I have the following dataset, where: -mixpre3M= is a flag variable telling us if the customer had already purchased somethign in the past
2012 Dec 26
2
has value in a console but it's nil in my controller and my view?
I have this strange behavior and I don''t undertand why. Here is the thing: I have this record in my payment model: 1.9.3p286 :019 > u.payment.last Payment Load (0.3ms) SELECT "payments".* FROM "payments" WHERE "payments"."user_id" = 10 => [#<Payment id: 37, bank_name: "Mercantil", plan: "Plan Uno", date:
2006 Jul 11
1
counter_cache, has_many and belongs_to
I am a bit confused about counter_cache here. The API docs http://api.rubyonrails.org/classes/ActiveRecord/Associations/ClassMethods.html say that only the belongs_to association can take the :counter_cache option. When I try to use it on a has_many I get an "unknown key(s): counter_cache" error. Why would this be the case? belongs_to means that this model has a field with an id
2005 Dec 17
0
bug? saving (valid) updated object results in validation error
Hi! I have an error that I don''t understand. It shouldn''t be happening, according to the documentation! I have a class, defined as below. > class Coupon < ActiveRecord::Base > belongs_to :product > belongs_to :account > validates_presence_of :product > validates_associated :product > validates_presence_of :voucher > validates_presence_of
2014 Apr 03
2
How to store interim print results
Dear R forum, Following is an customized extract of a code I am working on. settlement = as.Date("2013-11-25") maturity   = as.Date("2015-10-01") coupon     = 0.066 yield      = 0.1040 basis      = 1   frequency = 2 redemption = 100 # __________________________________________________________________ add.months = function(date, n)  {   nC <- seq(date, by=paste (n,
2010 Dec 09
4
Sequence generation in a table
Dear R helpers I have following input f = c(257, 520, 110). I need to generate a decreasing sequence (decreasing by 100) which will give me an input (in a tabular form) like 257, 157, 57 520, 420, 320, 220, 120, 20 110, 10 I tried the following R code f = c(257, 520, 110) yy = matrix(data = NA, nrow = 3, ncol = 6) for (i in 1:3)      {      value = NULL      for (j in 1 : 6)           {
2012 Aug 08
2
RQuantLib: SET_VECTOR_ELT() can only be applied to a 'list', not a 'symbol'
# Hi all, # trying to run the following example code # from 'RQuantLib' package... HullWhite <- list(term = 0.055, alpha = 0.03, sigma = 0.01, gridIntervals = 40) Price <- rep(as.double(100),24) Type <- rep(as.character("C"), 24) Date <- seq(as.Date("2006-09-15"), by = '3 months', length = 24) callSch <- data.frame(Price, Type,
2006 Jan 14
12
Dedicated Host Recommendations?
I currently have a dedicated server at ev1servers, but it''s getting rather antiquated (Redhat 9) and am looking to upgrade. I''m thinking about serverbeach.com - one of their CentOS servers. Anybody have any recommendations for dedicated servers on which to run Rails? Hopefully less than $200/month. Thanks! CSN __________________________________________________ Do You Yahoo!?
2012 Jan 21
1
help with couponprinter.exe
I don't have access to a Windows machine at the moment and I have been trying to figure out a way to install the coupon printer from coupons.com on my Linux pc. I have wine 1.3.37 installed but the couponprinter.exe file causes WINE to crash every time that I reach the license agreement window. The "next" button is grayed out and I'm unable to proceed any further. Has anyone had any success in running this exe file with...
2006 Nov 23
2
Some tips for testing respond_to block and making controller tests work with simply_helpful
Hi, Here''s two blog posts for those that need to test respond_to blocks and/or are currently using simply_helpful extensively. http://blog.methodmissing.com/2006/11/22/testing-different-content- types-with-rspec http://blog.methodmissing.com/2006/11/23/using-simply_helpful-with- rspec-controller-tests - Lourens
2003 May 19
2
New Ogg HW Player?
('binary' encoding is not supported, stored as-is) I just got this link. They're saying they will (or only the could?) support Vorbis with future Firmware Versions. http://www.frontierlabs.com/NEXIA.html -- Daniel <p>Have you noticed that all you need to grow healthy, vigorous grass is a crack in your sidewalk? --- >8 ---- List archives: http://www.xiph.org/archives/ Ogg