Skip to content

Instantly share code, notes, and snippets.

@jwo
Created August 25, 2012 19:15
Show Gist options
  • Save jwo/3469621 to your computer and use it in GitHub Desktop.
Save jwo/3469621 to your computer and use it in GitHub Desktop.
Ember + Rails (Houston Code Camp live)

Each year there is a competition… Fake Thanksgiving!

The House provides a turkey, and you enter a side or a dessert. (the entry). Then, people vote. the winner gets fame and glory!

The first year, we voted on paper. The next, I built a Rails 1.2 website that tabulated votes. (updated over time).

Let's build a voting machine with Rails as the API but use Ember to keep state and give a better user experience.

Rails Side

Admins can login and create entries (name, chef, photo). This is the Rails side.

Ember Side

Voters will pull up the side, see the entries, and cast their ballot (1,2,3 place for sides and then for desserts).

List of Gems

rails new electiontron -T -d postgresql

  • rspec-rails
  • compass-rails
  • bootstrap-sass
  • carrier_wave
  • ember-rails
  • rails_admin
  • active_model_serializers
  • fog
  • devise
  • rails_admin
@boy-jer
Copy link

boy-jer commented Aug 27, 2012

Will you be putting this on github?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment