similar to: ruby on rails ecommerce tests are failing, but why?

Displaying 20 results from an estimated 300 matches similar to: "ruby on rails ecommerce tests are failing, but why?"

2006 Apr 25
3
rake test:units fails on Postgresql due to nil
Following the directions in: http://www.xml.com/pub/a/2006/04/19/rest-on-rails.html?page=2 I get through the: rake db:migrate With the tables created properly but then when I run the: rake test:units I get a failure: ActiveRecord::StatementInvalid: RuntimeError: ERROR C23502 Mnull value in column "title" violates not-null constraint FexecMain.c L1750
2018 Sep 26
1
Which is the best open source ecommerce platform?
Good afternoon from Singapore, There are far too many choices when it comes to open source ecommerce solutions. Are there any credible rankings of open source ecommerce platforms? Which open source ecommerce solution do you think is the best and tell me why. Thank you. ===BEGIN SIGNATURE=== Turritopsis Dohrnii Teo En Ming's Academic Qualifications as at 30 Oct 2017 [1]
2006 Feb 21
2
Production ecommerce sites?
Hi All First post and its a question of Rails abilities. I was wondering if their are any examples of a Rails application driving an ecommerce shop site. Selling a catalogue of products? We''re looking at starting our first major Rails project at work and wanted to gather some examples to sell to the MD as PHP is becoming a drag and there''s so much more possibility in Rails.
2009 May 04
2
Spree 0.8.0 Released (Rails eCommerce Project)
Spree is an open source ecommerce solution for Ruby on Rails. http://spreecommerce.com/articles/2009/05/04/spree-0-8-0-released/ I''ll also be leading a BOF at RailsConf where we will be chatting about Rails commerce so hopefully I''ll see you there! Sean Schofield Twitter: @railsdog
2011 Feb 24
4
OT: Ecommerce hosting
Would appreciate some suggestions for ecommerce hosting. Been using, cough, cough, godaddy, for about 5 or 6 yrs but in the last year or so, they really suck. Did the hosting myself for a while prior to going with godaddy but I don't have time to babysit. Seems godaddy would rather spend millions advertising during the Super Bowl than put that money to good use. TIA!!
2006 Nov 20
1
Getting started with ActiveMerchant & new Ecommerce book
Hi there I''ve got a copy of the ''Beginning Ruby on Rails Ecommerce'' book and am trying to integrate ActiveMerchant into my app. My order.rb file has the line: ''include ActiveMerchant::Billing'' per the book. My Order model also has, amongst other things, the following validation: '' validates_inclusion_of :billing_country, :in =>
2006 Jun 11
1
Best encoding/charset for rails ecommerce site?
Normally, I''d just use UTF-8 but the more I read about ruby, the more confused I am about selecting the most trouble-free encoding. I''m using ruby 1.8.2, rails 1.1.2, postgresql 7.4.7 on Debian stable. The website is in English and will sell products to U.S. and Canadian customers so it needs to support special characters found in Spanish and French names. Which of these 3
2012 Jun 06
1
Data scientist // Berlin-based startup using probabilistic models in ecommerce
*Fluidshopping is a Berlin-based startup working on a customer analytics tool for online retailers. Customer Lifefitime Value (CLV) is the mythical 'magic number', the amount of money a particular customer will ever bring in. Knowing your CLV makes it trivial to: - optimize marketing spend for different inbound channels. - identify your highest value customers, - identify those in danger
2018 Jul 02
2
Parametrized Vignettest in R packages
Hello, Thank you for the questions as well as remaining me of the default parameters in the yaml session. Indeed this seems to be the solution. But how would I assign package data as a default parameter? So originally I thought to render the markdown with : <code> data(sample_analysis) data(skylineconfig) x <- rmarkdown::render("report.Rmd", output_format =
2007 Mar 19
3
Assert_select
Hi all This is my first post here. I ave been using Rails for a couple of months, and am starting to put together a test suite. But I''m having a problem with assert_select in my functional tests. According to the documentation, it should be fine with two arguments - a CSS selector and a string to test it against. But no matter what I do I keep getting the exception: wrong number of
2018 Jul 09
2
Parametrized Vignettest in R packages
On 09/07/2018 3:24 PM, Witold E Wolski wrote: > Dear Yihui, > > Thank you for the valuable questions. > > sample_analysis is a "tibble" while > configuration is an "R6" class. > But I also have parametrized reports where I pass R reference classes > as arguments. > > This is the Rmd yaml params part corresponding to the error message. > >
2005 Oct 10
1
ActionPack tests are failing
Hi, i''m currently looking into a problem with the tests for ActionPack. 127 of them are failing on my windows machine. On Linux everything is working fine so far. I just wasted a good part of an hour trying to find the problem on windows...the solution is: Nitro and not Windows. I''m using Edge Rails and have no rails gem installed. On Windows I have the Nitro/Glue/Og gems
2017 Jun 07
1
rmarkdown and font size
Suppose I have a file (named "tmp.rmd") containing: --- title: Test --- ```{r example, echo=FALSE, results='asis'} tmp <- data.frame(a=1:5, b=letters[1:5]) print( knitr::kable(tmp, row.names=FALSE)) ``` And I render it with: rmarkdown::render('tmp.rmd', output_format=c('html_document','pdf_document')) I get two files: tmp.pdf tmp.html Is
2018 Jul 09
2
Parametrized Vignettest in R packages
Dear Duncan, Following your advice (Thank you for it) I did include into the vignettes params: configuration: !r get(data(sample_analysis)) data: !r get(data(skylineconfig)) And everything seemed (see below) to work fine. devtools::build_vignettes() builds the vignettes. Runs with NO error. By this the .Rmd file, html file and corresponding .R files is being placed into the inst/doc
2006 Mar 27
15
Go Go Gadget - A Rails ecommerce site released today
I''ve just completed my first Ruby on Rails project, an online store for electronic gadgets including digital cameras, MP3 players and PDAs. It''s for Australian shoppers only, but everyone can take a look and browse through! http://www.gogogadget.com.au All feedback, comments, etc are welcome. Cheers, Dan
2018 Nov 07
1
Problem building rmarkdown vignettes with child
Hello, This is a problem I posted about already some time ago: https://stat.ethz.ch/pipermail/r-devel/2018-September/076786.html Finally, I did had some time to create a minimal package to reproduce the problem that vignettes with child can not be build. https://github.com/wolski/RmarkdownVignetteProblem The problem basically is that while all the vignettes can be build by running
2018 Jul 09
3
Parametrized Vignettest in R packages
So far you haven't provided a reproducible example yet. I wonder what exactly the object `sample_analysis` is. Sounds like it is an environment. If that is the case, devtools::build_vignettes() will tangle (for the meaning of "tangle", see ?tools::buildVignette) your vignette into an invalid R script. Environments cannot be represented via dput(), so knitr's purl() (eventually
2006 Nov 07
1
Memory consumption too high
Hi, I''m having trouble with ferret and AAF blowing up with a NoMemoryError. Sometimes when I add documents inside my rails app. Ferret starts consuming huge amounts of memory. I''m on a machine with 2GB of memory and it still runs out of memory. Sometimes I''m able to run MyObject.rebuild_index and the memory doesn''t move up at all. However, sometimes it
2018 Jul 02
4
Parametrized Vignettest in R packages
Hello, I have a package which includes some parameterized r-markdown report which I would also like to build as package vignettes. Is there a way to run the parameterized vignette creation with the package build or package check? Thank you -- Witold Eryk Wolski
2009 May 24
6
belongs_to not saving foreign key
Under Rails 2.3.2 using a completely brand new project, I have 2 models: class Author < ActiveRecord::Base # name:string end class Book < ActiveRecord::Base # title:string belongs_to :author # author_id end And a simple test where i create a Book with an Author using the belongs_to and then update the foreign key directly: require ''test_helper'' class BookTest