From 919f6e7993148c0fcf5da40e8965320997fc3305 Mon Sep 17 00:00:00 2001 From: Luke Baker Date: Thu, 25 Apr 2013 11:48:16 -0400 Subject: [PATCH] add example of monkey patch usage --- lib/rails23_ruby193_fixnum_monkey_patch.rb | 1 + 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/lib/rails23_ruby193_fixnum_monkey_patch.rb b/lib/rails23_ruby193_fixnum_monkey_patch.rb index edea233..cd01bf1 100644 --- a/lib/rails23_ruby193_fixnum_monkey_patch.rb +++ b/lib/rails23_ruby193_fixnum_monkey_patch.rb @@ -1,6 +1,7 @@ class Fixnum # actionpack-2.3.18/lib/action_controller/assertions/selector_assertions.rb:276 # attempts to get encoding of Fixnum when doing has_tag "foo", :text => 3 + # Example: bundle exec spec spec/integration/visitors_spec.rb -e "should return the bounces for a single question" def encoding Encoding::UTF_8 end -- libgit2 0.21.2