2013-12-02
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
rm -rf "${HOME}/Library/Caches/CocoaPods" | |
rm -rf "`pwd`/Pods/" | |
pod update |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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! | |
# | |
# @kyletcarlson | |
# | |
# This skeleton also assumes you're using the following gems: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
[ | |
{ "keys": ["super+n"], "command": "new_file" }, | |
{ "keys": ["super+c"], "command": "copy" }, | |
{ "keys": ["super+x"], "command": "cut" }, | |
{ "keys": ["super+v"], "command": "paste" }, | |
{ "keys": ["super+z"], "command": "undo" }, | |
{ "keys": ["super+y"], "command": "redo" }, | |
{ "keys": ["super+shift+z"], "command": "redo" }, | |
{ "keys": ["super+s"], "command": "save" }, | |
{ "keys": ["super+left"], "command": "move_to", "args": { "to": "bol" } }, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/Users/chriskk/apps/APPNAME/vendor/extensions/locations/config/initializers/islands.rb:2: warning: already initialized constant ISLANDS | |
/Users/chriskk/apps/APPNAME/vendor/extensions/business_inquiries/config/initializers/islands.rb:2: warning: previous definition of ISLANDS was here |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'rubygems' | |
require 'spork' | |
#uncomment the following line to use spork with the debugger | |
#require 'spork/ext/ruby-debug' | |
# --- Instructions --- | |
# Sort the contents of this file into a Spork.prefork and a Spork.each_run | |
# block. | |
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!-- vendor/extensions/locations/app/views/refinery/locations/locations/index.html.erb --> | |
<% content_for :body do %> | |
<ul id="locations"> | |
<% @locations.each do |location| %> | |
<li> | |
<%= link_to location.name, refinery.locations_location_path(location) %> | |
</li> | |
<% end %> | |
</ul> | |
<% end %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
include Carmen | |
ISLANDS = Country.named('United States').subregions.coded('HI').subregions.collect { |isle| isle.name } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Failures: | |
1) Refinery BusinessInquiries business_inquiries GET /business_inquiries/new should display the form and all fields | |
Failure/Error: visit refinery.new_business_inquiries_business_inquiry_path | |
ActionView::Template::Error: | |
uninitialized constant ActionView::CompiledTemplates::Appname | |
# /Users/chriskk/apps/appname/vendor/extensions/business_inquiries/app/views/refinery/business_inquiries/business_inquiries/new.html.erb:32:in `block (2 levels) in ___sers_chriskk_apps_appname_vendor_extensions_business_inquiries_app_views_refinery_business_inquiries_business_inquiries_new_html_erb___1273271278936162194_70175016498320' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Appname | |
class Application < Rails::Application | |
# ... various config settings | |
end | |
ISLANDS = %w(Oahu Maui Hawaii Kauai Lanai Molokai) | |
end |
NewerOlder