Skip to content

Instantly share code, notes, and snippets.

View jesscanady's full-sized avatar

Jessica Canady jesscanady

View GitHub Profile
--- a/config/navigation.rb
+++ b/config/navigation.rb
@@ -77,7 +77,7 @@ SimpleNavigation::Configuration.run do |navigation|
when 'Administrator'
primary.item :users, 'Users', users_path, :highlights_on => :subpath do |users|
users.dom_class = 'nav nav-tabs users'
- if [email protected]? and [email protected]_record?
+ if @user.present?
users.item :notes, 'Notes', user_notes_path(@user)
users.item :claims, 'Claims', user_claims_path(@user), :if => Proc.new{ @user.user_role.IsConsumer == 1 }
@jesscanady
jesscanady / deploy.rb
Created May 8, 2012 17:30
Deploy scripts!
# in config/deploy.rb
set :default_stage, 'staging'
require 'capistrano/ext/multistage'
require 'bundler/capistrano'
set :application, "appname"
set :repository, "ssh://servername/path/to/repository.git"
set :use_sudo, false
@jesscanady
jesscanady / keybase.md
Created March 21, 2014 13:14
Keybase Proof

Keybase proof

I hereby claim:

  • I am joncanady on github.
  • I am joncanady (https://keybase.io/joncanady) on keybase.
  • I have a public key whose fingerprint is FE37 0AFC ED4B CBFA EBAB F339 061C 7E88 94F8 D7EA

To claim this, I am signing this object:

@jesscanady
jesscanady / README.md
Created December 21, 2015 15:48
Columbus.rb December Meeting

So, you've likely heard that we're trying a new location for the Columbus Ruby Brigade meeting! CoverMyMeds has offered to sponsor, and we'd like to give their space a shot.

tl;dr

Show up at the CoverMyMeds offices (floor 11) on December 21. There's free parking in a garage, food, and drinks (including beer).

When

The day isn't changing. Still the third Monday of the month. This one's Dec 21 2015.

Keybase proof

I hereby claim:

  • I am joncanady on github.
  • I am joncanady (https://keybase.io/joncanady) on keybase.
  • I have a public key ASCD6q9P0mbJ48zmq-jchVo52l2xo2gjL_m-FMSyZuvj8go

To claim this, I am signing this object: