Commit b96610a0a00a47e4c4efa32a208f074f2b38ed42

Authored by Luke Baker
1 parent 485d2ba0

monkey patch fixnum to include encoding method

Showing 1 changed file with 7 additions and 0 deletions   Show diff stats
lib/rails23_ruby193_fixnum_monkey_patch.rb 0 → 100644
... ... @@ -0,0 +1,7 @@
  1 +class Fixnum
  2 + # actionpack-2.3.18/lib/action_controller/assertions/selector_assertions.rb:276
  3 + # attempts to get encoding of Fixnum when doing has_tag "foo", :text => 3
  4 + def encoding
  5 + Encoding::UTF_8
  6 + end
  7 +end
... ...