Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
| #!/bin/env ruby | |
| # | |
| # Collects info about the age of all gems in the project | |
| # | |
| require "json" | |
| require "date" | |
| bundle = `bundle list` | |
| yearly_stats = {} |
| # File: app/controllers/api/api_controller.rb | |
| class Api::ApiController < ActionController::Base | |
| # Consider subclassing ActionController::API instead of Base, see | |
| # http://api.rubyonrails.org/classes/ActionController/API.html | |
| protect_from_forgery with: :null_session | |
| before_action :authenticate | |
| def self.disable_turbolinks_cookies | |
| skip_before_action :set_request_method_cookie |
Inspired by dannyfritz/commit-message-emoji
See also gitmoji.
| Commit type | Emoji |
|---|---|
| Initial commit | 🎉 :tada: |
| Version tag | 🔖 :bookmark: |
| New feature | ✨ :sparkles: |
| Bugfix | 🐛 :bug: |
I have moved this over to the Tech Interview Cheat Sheet Repo and has been expanded and even has code challenges you can run and practice against!
\
The purpose of design is to allow you to do design later, and it's primary goal is to reduce the cost of change.
| # This is a skeleton for testing models including examples of validations, callbacks, | |
| # scopes, instance & class methods, associations, and more. | |
| # Pick and choose what you want, as all models don't NEED to be tested at this depth. | |
| # | |
| # I'm always eager to hear new tips & suggestions as I'm still new to testing, | |
| # so if you have any, please share! | |
| # | |
| # This skeleton also assumes you're using the following gems: | |
| # | |
| # rspec-rails: https://github.com/rspec/rspec-rails |