Displaying 2 results from an estimated 2 matches for "escape_quot".
Did you mean:
  escape_dot
  
2006 Feb 25
1
extending a class
I''m trying to add this to my project:
class String
   def escape_quotes
     self.gsub(/["'']/) { |m| "\\#{m}" }
   end
end
I tried putting it in application_helper.rb, but it''s not getting found. 
Where does it need to go?
Thanks,
Chris
-- 
Posted via http://www.ruby-forum.com/.
2017 Jan 27
0
[ANNOUNCE] iptables 1.6.1 release
...ilt-in comments support
      xtables-translate: fix multiple spaces issue
      include: xtables: fix struct definitions grepability
      xtables-translate: fix issue with quotes
      xtables-compat: fix comments listing
      xtables-compat: remove useless functions
      xtables-translate: add escape_quotes option to comment_xlate
      xtables-compat: check if nft ruleset is compatible
      xtables-compat: add rule cache
      xtables-translate-restore: do not escape quotes
Pablo Neira Ayuso (13):
      nft: xtables: add generic parsing infrastructure to interpret commands
      nft: xtables-rest...