Skip to content

Instantly share code, notes, and snippets.

View halfbyte's full-sized avatar
🌍
Doing stuff

Jan Krutisch halfbyte

🌍
Doing stuff
View GitHub Profile
@halfbyte
halfbyte / speaker.md
Created June 22, 2012 14:22 — forked from matiaskorhonen/speaker.md
Frozen Rails Talk Proposal Template (http://2012.frozenrails.eu/)
@halfbyte
halfbyte / questions.rb
Created May 3, 2011 13:19 — forked from tow8ie/answers.rb
Rack Nested Params Parsing Quiz My Solution
"x[y][z]=1" # => {"x" => {"y" => {"z" => "1"}}}
"x[y][z][]=1" # => {"x" => {"z" => ["1"]}
"x[y][z]=1&x[y][z]=2" # => {"x" => {"z" => ["1", "2"]}
"x[y][z][]=1&x[y][z][]=2" # => {"x" => {"y" => {"z" => ["1", "2"]}}
"x[y][][z]=1" # => {"x" => {"y" => [{"z" => "1"}]}}