Skip to content

Instantly share code, notes, and snippets.

@BigMcLargeHuge
BigMcLargeHuge / file.js
Last active August 29, 2015 14:16 — forked from EminenceHC/file.js
gist for EminenceHC
// Would put each of the variables into an object
var myVariables={};
// giving values to variables (you can do this through whatever means you were intending)
myVariables['varAlcohol']="some value";
myVariables['varMarijuana']="some other value";
myVariables['varElse']="some else other value"
// Look for a change to the array of variables
$(myVariables).change(function(){
@BigMcLargeHuge
BigMcLargeHuge / Console
Last active August 29, 2015 14:11 — forked from anonymous/Console
Started POST "/foos" for 127.0.0.1 at 2014-12-13 11:00:53 +0100
Processing by FoosController#create as HTML
Parameters: {"utf8"=>"✓", "authenticity_token"=>"eLWiAFnILPySsw/b5h+BRtsk0UTbNJlsiTnllXvJuLuZGtxprb4lYTBmnvXsWqbmYnl3Rls0nW1tLz4+ydlu/w==", "foo"=>{"name"=>"foo", "bars_attributes"=>{"0"=>{"name"=>"bar1", "bazs_attributes"=>{"0"=>{"name"=>"baz1"}}}, "1"=>{"name"=>"bar2", "bazs_attributes"=>{"0"=>{"name"=>"baz2"}}}}}, "commit"=>"Create Foo"}
Completed 500 Internal Server Error in 1ms
ActionView::MissingTemplate (Missing template foos/create, application/create with {:locale=>[:en], :formats=>[:html], :variants=>[], :handlers=>[:erb, :builder, :raw, :ruby]}. Searched in: ...