Skip to content


Subversion checkout URL

You can clone with
Download ZIP
deal site for interview
Ruby JavaScript
branch: master

Commit changes for Question 4

Import tab-delimited text file
latest commit c9bb29680c
@hoitomt authored
Failed to load latest commit information.
app Changes for the second question - DRY up themes
config Initial Commit'
db Initial Commit'
doc Initial Commit'
lib Commit changes for Question 4
public Initial Commit'
script Commit changes for Question 4
test Commit for Question 3 - set the end date after validating that the de…
vendor Initial Commit'
.gitignore Initial Commit'
Gemfile "Commit changes for 1st question. Load time decreased by 44% on avera…
Gemfile.lock Initial Commit'
README.rdoc Initial Commit'


This is a Ruby 1.9, Rails 3.2 application.

If you have Ruby 1.9 and bundler installed, all you should need to do is:

bundle rake db:seed rails s

Use 'rake' to run tests.

This is a very simple deal site. Actually buying the deals is for the next version ;). Each Publisher (white-label site) has Advertisers (merchants, retailers, stores), and the Advertisers have Deals. The admin interface is at / (no security!). An example of a deal is at /deals/1 (if you ran db:seed). Some Publishers have custom templates and assets in app/themes. Publishers can be have a simple parent-child hierarchal relationship.


Something went wrong with that request. Please try again.