Skip to content

Instantly share code, notes, and snippets.

Nate Salisbury natesalisbury

  • Utah
Block or report user

Report or block natesalisbury

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View assets.rake
require 'non_digest_assets'
namespace :assets do
desc "Copy certain assets to a non-digest version"
task :non_digested do
# Run non_digested task after precompile
natesalisbury / better_hash.rb
Last active Dec 7, 2015
Footing Brainstorm
View better_hash.rb
class BetterHash < Footing
def filter!(keys, replacement: "[FILTERED]")
should_replace = lambda do |key|
replace = false
keys.each do |k|
break if replace
replace = k.is_a?(Regexp) ? key.to_s =~ k : key.to_s == k.to_s
natesalisbury /
Last active Dec 18, 2015
Notes for Überdev talk about Value Objects

#Value Objects and ActiveRecord

##Value Objects


  • A Measure or description of something
  • Equality is dependent on values rather than an identity
  • Immutable


You can’t perform that action at this time.