Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5a40ffe
commit 3add1b9
Showing
2 changed files
with
26 additions
and
256 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
## Solution to [MLG](www.majorleaguegaming.com) coding problem for recruitment. | ||
|
||
###The problem: | ||
|
||
Create a Rails 3 application, complete with all unit and functional tests that: | ||
|
||
· Accepts personal information (first name (required), last name (required), address (required), phone number (not required), email (required)) from both a form and via a Restful API | ||
· Saves records to an instance of MySQL | ||
· Provides a way to search the contacts database by name (support for partial matches not needed) | ||
· Ensures the application performs validations where appropriate | ||
|
||
Bonus: | ||
|
||
· On successful creation of a new account, inform a queue (e.g. Redis, Sparrow, etc.) that a new account was created | ||
· Write a listener for the queue that will update account record to indicate that it was "verified" | ||
· Demonstrate a set of integration test(s) to verify the system works appropriately | ||
|
||
### Solution. | ||
|
||
This rails application. | ||
Deployed [here]("") | ||
|
||
Queue used: **beanstalkd** | ||
Beanstalk client: the `stalker:start` rake task (uses Stalker gem) | ||
Tests: `rake:test` |