Questions tagged [piggybak]

Mountable Ruby-on-Rails E-Commerce solution.

Piggybak is a Ruby-on-Rails 3 Engine with basic shopping cart and one page checkout functionality.

It uses Rails Admin to provide an admin interface to work with orders, products, shipping methods, payment methods, and tax methods. It is not an ecommerce turn-key solution, but is intended to be mounted on existing Rails applications.

Piggybak is open-source and free to use.

Official web-site is: http://piggybak.org/

7 questions
1
vote
1 answer

Error integrating piggybak with rails admin. Undefined method 'nestable'

I try to integrate piggybak in my rails application, using the example initializer for rails_admin from https://github.com/piggybak/demo/blob/master/config/initializers/rails_admin.rb When I try to start up the server I get the following…
1
vote
1 answer

How to append input schema to output in pig

I have writen one UDF where my input schema is a Bag of tuples, Now in my UDF I am processing each tuple and appending extra field for each tuple and providing that to the output bag. This works well, Now in my next step I tried to create output…
sudheer
  • 338
  • 1
  • 6
  • 17
1
vote
1 answer

Pig JobStats unable to find the output file warning

I am using Pig 0.11.1 (on CDH4 with MR1) and DBStorage to output aggregated results to MySql2. The job appears to be running fine (finishes successfully and generates an output) but I am getting the warning below. I have done some research but have…
Marquez
  • 5,891
  • 3
  • 31
  • 40
1
vote
1 answer

How do I save information to a model on Devise.sessions#destroy?

I'm using Devise and Piggybak for a Rails project and Piggybak uses a cookie named cart to store the user cart. The problem is that Piggybak doesn't destroy the cookie on user sign_out so, if I sign_in with another user, it uses the same cookie and…
0
votes
1 answer

PIG Script error, while trying to store in AVRO format: Datum 2 is not in union ["null","string"]

I'm trying to store data to AVRO format, but can not realize why I'm getting error. Datum 2 is not in union ["null","string"] what does it mean? Parse xml: REGISTER piggybank.jar REGISTER /opt/cloudera/parcels/CDH/lib/pig/lib/avro.jar REGISTER…
Dipas
  • 294
  • 2
  • 9
  • 21
0
votes
1 answer

How to convert to time in millis from YYYY-MM-DD HH:MM:SS date in Apache Pig

I have one date chararray 2014-11-02 16:57:29. i want to convert this into long how can i do this? I tried from the link https://pig.apache.org/docs/r0.14.0/api/org/apache/pig/piggybank/evaluation/datetime/convert/ISOToUnix.html DEFINE ISOToUnix…
Sam
  • 1,333
  • 5
  • 23
  • 36
0
votes
1 answer

MySQL and PHP method to check for a unique session

I have this problem on a PHP website that I made. The website uses a login mechanism I got online. This mechanism has a .php script called "checklogin.php". My problem is with the method it uses to check if the login is valid or not. Basically what…
carvelle
  • 15
  • 1
  • 6