Skip to content

Instantly share code, notes, and snippets.

@joliss
Created June 3, 2012 14:28
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save joliss/2863739 to your computer and use it in GitHub Desktop.
Save joliss/2863739 to your computer and use it in GitHub Desktop.

Notable libraries in my Rails + Ember stack

General

  • Devise: Devise uses Rails views, so I have the user management separate from the Ember app.

Templating

  • haml-rails
  • hamlbars

JavaScript

  • active_model_serializers (master): Works against ember-data on the client side.
  • ember-rails
  • You could use the Ember + ember-data release versions shipping with ember-rails, but I want to work against master, since I like to contribute to Ember, so I'm including the Ember repos as submodules and use this asset file https://gist.github.com/2863733 with this rebuild task https://gist.github.com/2863737
  • coffee-rails

CSS

  • sass-rails
  • compass-rails
  • twitter-bootstrap-rails

JS Tests

Unit and Integration Testing for Ember app. This is the bulk of my test suite.

  • konacha: Uses mocha and chai for pure-JS in-browser testing. An alternative is jasmine-rails, which uses jasmine.
  • vendor/assets/chai-jquery.js (master)

Ruby Tests

Mostly with Capybara, doing (1) superficial integration test for Ember app, (2) integration test for Devise user handling, (3) some unit tests.

  • Test::Unit
  • rspec-expectations: .should
  • capybara (master)
  • factory_girl_rails, database_cleaner: populating DB for Capybara

Server

  • heroku
  • thin

Dev

  • pry: like IRB and debugger
  • faker: Prepopulate your app with random fake data for dev mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment