Skip to content

jthomaskerr/GetUpQuiz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

THE PROBLEM:
Write a Rails app providing a simple form which allows users to enter
rules based on where people live and which email provider they use, 
then display a list of names which match these criteria.



GUIDELINES:
Only needs a very basic UI - no fancy CSS.
To save time do not use any javascript.
You are welcome to use any gems and plugins that you feel will assist.
Bonus points for providing a link to a GitHub repo and your app running on Heroku.
We like tests.



DATA:
People (also provided in people.csv)
id,name,postcode_id,email
1,Cody Kinnaman,1,ck@hotmail.com
2,Christian Hoying,2,ch@gmail.com
3,Max Moshier,3,mm@gmail.com
4,Noreen Zacharias,4,nz@yahoo.com.au 
5,Darren Radovich,5,dr@yahoo.com.au
6,Erik Pendergast,1,ep@gmail.co.nz
7,Ted Kuehne,2,tk@hotmail.co.nz
8,Clinton Banegas,3,cb@yahoo.com
9,Neil Ancona,4,na@gmail.com.au
10,Clare Straube,5,cs@yahoo.co.nz

Postcodes (also provided in postcodes.csv)
id,number,suburb
1,2000,Sydney CBD
2,2010,Surry Hills
3,2060,North Sydney
4,2061,Kirribilli
5,2065,Crows Nest



ACCEPTANCE TESTS:
People with a hotmail address
-> Cody Kinnaman, Ted Kuehne

People who are not from postcode 2000
-> Christian Hoying, Max Moshier, Noreen Zacharias, Darren Radovich, Ted Kuehne, Clinton Banegas, Neil Ancona, Clare Straube

People from postcodes 2000 or 2010
-> Cody Kinnaman, Christian Hoying, Erik Pendergast, Ted Kuehne

People from postcode 2010 with a gmail address
-> Christian Hoying

People from postcode 2060, 2061 or 2065 who do not use gmail
-> Noreen Zacharias, Darren Radovich, Clare Straube

About

GetUp! Coding Problem - Lead Developer Role July 2011

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published