shotgundebugging
Follow
- Romania
- @shotgundebuggin
Pinned Loading
-
-
-
sequrist-log
sequrist-log PublicPure Rack application which logs HTTP requests to papertrailapp.com
Ruby
-
sort & sort_by benchmark
sort & sort_by benchmark 1#!/usr/bin/ruby
23require 'benchmark'
45ary = []
-
CSRF protection in Rails - #csrf_met...
CSRF protection in Rails - #csrf_meta_tags 1# actionview/lib/action_view/helpers/csrf_helper.rb
23def csrf_meta_tags
4if defined?(protect_against_forgery?) && protect_against_forgery?
5[
-
dynamic-class.rb
dynamic-class.rb 1variable = "SomeClassName"
2klass = Class.new(ParentClass)
3# ...maybe evaluate some code in the context of the new, anonymous class
4klass.class_eval { }
5# ...or define some methods
Something went wrong, please refresh the page to try again.
If the problem persists, check the GitHub status page or contact support.
If the problem persists, check the GitHub status page or contact support.