Promo code admin interface

I have an existing web app and REST API in Ruby On Rails (version [url removed, login to view]).

I want to add a new section to my back-office to manage promo codes.

The back-office is created with ActiveAdmin - [url removed, login to view]

A promo code must be created by an user logged in in the back-office.

The consumption of promo codes created in the back-office is NOT part of this requirement : you only have to create the class and the user interface in ActiveAdmin to manage them.

A promo code object expose the following properties and methods:

- a validity date (or none, meaning it does not expire)

- a code string (example: "DISCOUNT30")

- a number of use allowed (-1 : unlimited)

- a discount pourcentage (float variable)

- what object(s) it is allowed on (enum with: all, objectA, objectB)

- an unique identifier (SKU)

- a method: is_valid

Must be unit tested (rspec or your favorite).

IMPORTANT: Expecting a high code quality. Please explain in your proposal how you guarantee it. I'd like to know about your development process, your code style and conventions...

Skills: Ruby on Rails

See more: what ruby on rails, ruby on rails version, ruby on rails rspec, rest with ruby on rails, no code web app development, how to create a method ruby on rails, float in ruby on rails, discount promo, codes ruby on rails, codes promo, discount promo codes, Promo, promo code, office admin, office app 2013, web app rails, rails web app, string float, activeadmin, rest api ruby, ruby rest api, admin user interface, unit class, ruby web app, ruby rest

About the Employer:
( 0 reviews ) France

Project ID: #4683723

7 freelancers are bidding on average $158 for this job


I'm interested.

$200 USD in 6 days
(34 Reviews)

Hi, We have an more than 3+ years of experience in Rails. Experience with: - Ruby [3 year] - Ruby on Rails [3 year] - HTML/CSS [3 year] - TDD/RSpec [2 year] - PostGres [3 year] - Git [3 year] - Javascript More

$250 USD in 7 days
(14 Reviews)

validates :usage, numericality: { only_integer: true, greater_than_or_equal_to: 1, equal_to: -1, message: "Usage must be bigger than 0 or equal to -1"}

$100 USD in 3 days
(4 Reviews)

Hi, I'm interested.

$111 USD in 6 days
(0 Reviews)

I am having 5 years of experience in CMMI Level 3 and CMMI Level 5 company. I have a good exposure in product developement. I drive CMMI level process and code style. Will complete your all requirement in short of time More

$138 USD in 5 days
(0 Reviews)

Hi, I work with activeadmin at my previous job as well, I use rspec and capybara, not sure what you mean by quality here, I'll code with the usual style

$155 USD in 3 days
(0 Reviews)

I have one year experience in rails.I am a part of engineering team who is presently developing a movie based social networking site in ruby on rails.I have a clear idea how a cms application works as I have worked on More

$155 USD in 3 days
(0 Reviews)

Hello, Greetings of the day I am a EXPERT UI designer with excellent user interface and user experience skills, I have a strong graphic design skills .We design UI with great usability. User e More

$144 USD in 3 days
(0 Reviews)