You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 13, 2018. It is now read-only.
Kevin Yaroch edited this page Sep 24, 2015
·
4 revisions
All new CSS and JavaScript should be placed in app/assets/stylesheets/ and app/assets/javascripts/ respectively. When working on a view, try to move inline CSS and JS that already exists.
Never manually edit db/schema.rb. Always create a migration instead.
Run the tests (bundle exec rspec) before creating a pull request, to make sure you haven't broken anything. If the tests need to be updated, try to either update them or consult Kevin on Slack (depending on your knowledge of RSpec).
Think twice before creating a new controller action (or a new controller). The standard RESTful routes are usually enough. If you need to modify the behavior of an action, try passing parameters to it.