diff --git a/lib/facebooker2/rails/helpers/javascript.rb b/lib/facebooker2/rails/helpers/javascript.rb index 1847286..83d530c 100644 --- a/lib/facebooker2/rails/helpers/javascript.rb +++ b/lib/facebooker2/rails/helpers/javascript.rb @@ -32,7 +32,7 @@ module Facebooker2 }()); JAVASCRIPT - if ::Rails::VERSION::STRING > "2" + if ::Rails::VERSION::STRING.to_i > 2 js.html_safe else block_given? ? concat(js) : js