In order get a better idea of your technical abilities, we’d like to ask you to complete the following exercise.
This is a Rails 5.0 starter application that that allows a visitor to sign up for an account and download a PDF file. The application uses:
- Devise for user management and authentication
- Role-Based Authorization
- Bootstrap or Foundation front-end frameworks
Before generating your application, you will need:
- The Ruby language – version 2.3.1
- The Rails gem – version 5.0
See the article Installing Rails for instructions about setting up Rails and your development environment.
- Fork the codebase into your own github account and clone it locally
- Ensure you have Ruby version 2.3.1
- Run the following commands:
bundle install
rake db:migrate
rake db:seed
rails s
- The seed file creates an admin user of [email protected]/changeme
- Create the ability to add a profile picture in the user profile (/users/edit)
- Bonus/not required: Create a feature spec to test it
- We anticipate that this exercise will require discussion. Please reach out when you have questions or need clarification. Please email [email protected] for any questions.
- When you are done, please open a pull request with your changes in a new branch.
- Please aim to finish this exercise in two weeks.
Special thanks to Rakesh Jha for code contributions.
Daniel Kehoe implemented the application and wrote the tutorial.
Is the app useful to you? Follow the project on Twitter: @rails_apps
and tweet some praise. I’d love to know you were helped out by what I’ve put together.
Copyright ©2014-16 Daniel Kehoe