").append(st.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,a||[e.responseText,t,e])}),this},st.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){st.fn[t]=function(e){return this.on(t,e)}}),st.each(["get","post"],function(e,n){st[n]=function(e,r,i,o){return st.isFunction(r)&&(o=o||i,i=r,r=t),st.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),st.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:Dn,type:"GET",isLocal:Fn.test(jn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":In,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":st.parseJSON,"text xml":st.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?H(H(e,st.ajaxSettings),t):H(st.ajaxSettings,e)},ajaxPrefilter:D(Wn),ajaxTransport:D($n),ajax:function(e,n){function r(e,n,r,s){var l,f,v,b,T,N=n;2!==x&&(x=2,u&&clearTimeout(u),i=t,a=s||"",w.readyState=e>0?4:0,r&&(b=M(p,w,r)),e>=200&&300>e||304===e?(p.ifModified&&(T=w.getResponseHeader("Last-Modified"),T&&(st.lastModified[o]=T),T=w.getResponseHeader("etag"),T&&(st.etag[o]=T)),304===e?(l=!0,N="notmodified"):(l=q(p,b),N=l.state,f=l.data,v=l.error,l=!v)):(v=N,(e||!N)&&(N="error",0>e&&(e=0))),w.status=e,w.statusText=(n||N)+"",l?g.resolveWith(d,[f,N,w]):g.rejectWith(d,[w,N,v]),w.statusCode(y),y=t,c&&h.trigger(l?"ajaxSuccess":"ajaxError",[w,p,l?f:v]),m.fireWith(d,[w,N]),c&&(h.trigger("ajaxComplete",[w,p]),--st.active||st.event.trigger("ajaxStop")))}"object"==typeof e&&(n=e,e=t),n=n||{};var i,o,a,s,u,l,c,f,p=st.ajaxSetup({},n),d=p.context||p,h=p.context&&(d.nodeType||d.jquery)?st(d):st.event,g=st.Deferred(),m=st.Callbacks("once memory"),y=p.statusCode||{},v={},b={},x=0,T="canceled",w={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!s)for(s={};t=_n.exec(a);)s[t[1].toLowerCase()]=t[2];t=s[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=b[n]=b[n]||e,v[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)y[t]=[y[t],e[t]];else w.always(e[w.status]);return this},abort:function(e){var t=e||T;return i&&i.abort(t),r(0,t),this}};if(g.promise(w).complete=m.add,w.success=w.done,w.error=w.fail,p.url=((e||p.url||Dn)+"").replace(Mn,"").replace(Bn,jn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=st.trim(p.dataType||"*").toLowerCase().match(lt)||[""],null==p.crossDomain&&(l=Pn.exec(p.url.toLowerCase()),p.crossDomain=!(!l||l[1]===jn[1]&&l[2]===jn[2]&&(l[3]||("http:"===l[1]?80:443))==(jn[3]||("http:"===jn[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=st.param(p.data,p.traditional)),L(Wn,p,n,w),2===x)return w;c=p.global,c&&0===st.active++&&st.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!On.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(Hn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=qn.test(o)?o.replace(qn,"$1_="+Ln++):o+(Hn.test(o)?"&":"?")+"_="+Ln++)),p.ifModified&&(st.lastModified[o]&&w.setRequestHeader("If-Modified-Since",st.lastModified[o]),st.etag[o]&&w.setRequestHeader("If-None-Match",st.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&w.setRequestHeader("Content-Type",p.contentType),w.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+In+"; q=0.01":""):p.accepts["*"]);for(f in p.headers)w.setRequestHeader(f,p.headers[f]);if(p.beforeSend&&(p.beforeSend.call(d,w,p)===!1||2===x))return w.abort();T="abort";for(f in{success:1,error:1,complete:1})w[f](p[f]);if(i=L($n,p,n,w)){w.readyState=1,c&&h.trigger("ajaxSend",[w,p]),p.async&&p.timeout>0&&(u=setTimeout(function(){w.abort("timeout")},p.timeout));try{x=1,i.send(v,r)}catch(N){if(!(2>x))throw N;r(-1,N)}}else r(-1,"No Transport");return w},getScript:function(e,n){return st.get(e,t,n,"script")},getJSON:function(e,t,n){return st.get(e,t,n,"json")}}),st.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return st.globalEval(e),e}}}),st.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),st.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=V.head||st("head")[0]||V.documentElement;return{send:function(t,i){n=V.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var Xn=[],Un=/(=)\?(?=&|$)|\?\?/;st.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Xn.pop()||st.expando+"_"+Ln++;return this[e]=!0,e}}),st.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1&&(Un.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Un.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=st.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Un,"$1"+o):n.jsonp!==!1&&(n.url+=(Hn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||st.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,Xn.push(o)),s&&st.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Vn,Yn,Jn=0,Gn=e.ActiveXObject&&function(){var e;for(e in Vn)Vn[e](t,!0)};st.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&_()||F()}:_,Yn=st.ajaxSettings.xhr(),st.support.cors=!!Yn&&"withCredentials"in Yn,Yn=st.support.ajax=!!Yn,Yn&&st.ajaxTransport(function(n){if(!n.crossDomain||st.support.cors){var r;return{send:function(i,o){var a,s,u=n.xhr();if(n.username?u.open(n.type,n.url,n.async,n.username,n.password):u.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)u[s]=n.xhrFields[s];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)u.setRequestHeader(s,i[s])}catch(l){}u.send(n.hasContent&&n.data||null),r=function(e,i){var s,l,c,f,p;try{if(r&&(i||4===u.readyState))if(r=t,a&&(u.onreadystatechange=st.noop,Gn&&delete Vn[a]),i)4!==u.readyState&&u.abort();else{f={},s=u.status,p=u.responseXML,c=u.getAllResponseHeaders(),p&&p.documentElement&&(f.xml=p),"string"==typeof u.responseText&&(f.text=u.responseText);try{l=u.statusText}catch(d){l=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=f.text?200:404}}catch(h){i||o(-1,h)}f&&o(s,l,f,c)},n.async?4===u.readyState?setTimeout(r):(a=++Jn,Gn&&(Vn||(Vn={},st(e).unload(Gn)),Vn[a]=r),u.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Qn,Kn,Zn=/^(?:toggle|show|hide)$/,er=RegExp("^(?:([+-])=|)("+ut+")([a-z%]*)$","i"),tr=/queueHooks$/,nr=[W],rr={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=er.exec(t),a=i.cur(),s=+a||0,u=1,l=20;if(o){if(n=+o[2],r=o[3]||(st.cssNumber[e]?"":"px"),"px"!==r&&s){s=st.css(i.elem,e,!0)||n||1;do u=u||".5",s/=u,st.style(i.elem,e,s+r);while(u!==(u=i.cur()/a)&&1!==u&&--l)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};st.Animation=st.extend(P,{tweener:function(e,t){st.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");for(var n,r=0,i=e.length;i>r;r++)n=e[r],rr[n]=rr[n]||[],rr[n].unshift(t)},prefilter:function(e,t){t?nr.unshift(e):nr.push(e)}}),st.Tween=$,$.prototype={constructor:$,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(st.cssNumber[n]?"":"px")},cur:function(){var e=$.propHooks[this.prop];return e&&e.get?e.get(this):$.propHooks._default.get(this)},run:function(e){var t,n=$.propHooks[this.prop];return this.pos=t=this.options.duration?st.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):$.propHooks._default.set(this),this}},$.prototype.init.prototype=$.prototype,$.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=st.css(e.elem,e.prop,"auto"),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){st.fx.step[e.prop]?st.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[st.cssProps[e.prop]]||st.cssHooks[e.prop])?st.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},$.propHooks.scrollTop=$.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},st.each(["toggle","show","hide"],function(e,t){var n=st.fn[t];st.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(I(t,!0),e,r,i)}}),st.fn.extend({fadeTo:function(e,t,n,r){return this.filter(w).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=st.isEmptyObject(e),o=st.speed(t,n,r),a=function(){var t=P(this,st.extend({},e),o);a.finish=function(){t.stop(!0)},(i||st._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=st.timers,a=st._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&tr.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&st.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=st._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=st.timers,a=r?r.length:0;for(n.finish=!0,st.queue(this,e,[]),i&&i.cur&&i.cur.finish&&i.cur.finish.call(this),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}}),st.each({slideDown:I("show"),slideUp:I("hide"),slideToggle:I("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){st.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),st.speed=function(e,t,n){var r=e&&"object"==typeof e?st.extend({},e):{complete:n||!n&&t||st.isFunction(e)&&e,duration:e,easing:n&&t||t&&!st.isFunction(t)&&t};return r.duration=st.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in st.fx.speeds?st.fx.speeds[r.duration]:st.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){st.isFunction(r.old)&&r.old.call(this),r.queue&&st.dequeue(this,r.queue)},r},st.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},st.timers=[],st.fx=$.prototype.init,st.fx.tick=function(){var e,n=st.timers,r=0;for(Qn=st.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||st.fx.stop(),Qn=t},st.fx.timer=function(e){e()&&st.timers.push(e)&&st.fx.start()},st.fx.interval=13,st.fx.start=function(){Kn||(Kn=setInterval(st.fx.tick,st.fx.interval))},st.fx.stop=function(){clearInterval(Kn),Kn=null},st.fx.speeds={slow:600,fast:200,_default:400},st.fx.step={},st.expr&&st.expr.filters&&(st.expr.filters.animated=function(e){return st.grep(st.timers,function(t){return e===t.elem}).length}),st.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){st.offset.setOffset(this,e,t)});var n,r,i={top:0,left:0},o=this[0],a=o&&o.ownerDocument;if(a)return n=a.documentElement,st.contains(n,o)?(o.getBoundingClientRect!==t&&(i=o.getBoundingClientRect()),r=z(a),{top:i.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:i.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):i},st.offset={setOffset:function(e,t,n){var r=st.css(e,"position");"static"===r&&(e.style.position="relative");var i,o,a=st(e),s=a.offset(),u=st.css(e,"top"),l=st.css(e,"left"),c=("absolute"===r||"fixed"===r)&&st.inArray("auto",[u,l])>-1,f={},p={};c?(p=a.position(),i=p.top,o=p.left):(i=parseFloat(u)||0,o=parseFloat(l)||0),st.isFunction(t)&&(t=t.call(e,n,s)),null!=t.top&&(f.top=t.top-s.top+i),null!=t.left&&(f.left=t.left-s.left+o),"using"in t?t.using.call(e,f):a.css(f)}},st.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===st.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),st.nodeName(e[0],"html")||(n=e.offset()),n.top+=st.css(e[0],"borderTopWidth",!0),n.left+=st.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-st.css(r,"marginTop",!0),left:t.left-n.left-st.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var e=this.offsetParent||V.documentElement;e&&!st.nodeName(e,"html")&&"static"===st.css(e,"position");)e=e.offsetParent;return e||V.documentElement})}}),st.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);st.fn[e]=function(i){return st.access(this,function(e,i,o){var a=z(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?st(a).scrollLeft():o,r?o:st(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}}),st.each({Height:"height",Width:"width"},function(e,n){st.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){st.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return st.access(this,function(n,r,i){var o;return st.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?st.css(n,r,s):st.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=st,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return st})})(window);
+//@ sourceMappingURL=jquery.min.map
\ No newline at end of file
diff --git a/app/assets/javascripts/lodash.min.js b/app/assets/javascripts/lodash.min.js
new file mode 100644
index 0000000..40126c4
--- /dev/null
+++ b/app/assets/javascripts/lodash.min.js
@@ -0,0 +1,42 @@
+/*!
+ Lo-Dash 1.0.0-rc.3 lodash.com/license
+ Underscore.js 1.4.3 underscorejs.org/LICENSE
+*/
+;(function(e,t){function n(e){if(e&&typeof e=="object"&&e.__wrapped__)return e;if(!(this instanceof n))return new n(e);this.__wrapped__=e}function r(e,t,n){t||(t=0);var r=e.length,i=r-t>=(n||tt);if(i)for(var s={},n=t-1;++n
t||typeof e=="undefined")return 1;if(
+ei;i++)r+="i='"+e.j[i]+"';if(","constructor"==e.j[i]&&(r+="!(f&&f.prototype===l)&&"),r+="h.call(l,i)){"+e.g+"}"}if(e.b||e.h)r+="}";return r+=e.c+";return t"
+,n("e,h,j,k,p,n,s","return function("+t+"){"+r+"}")(u,Et,v,N,nn,At,xt)}function f(e){return"\\"+rn[e]}function l(e){return hn[e]}function c(e){return typeof e.toString!="function"&&typeof (e+"")=="string"}function h(){}function p(e,t,n){t||(t=0),typeof n=="undefined"&&(n=e?e.length:0);for(var r=-1,n=n-t||0,i=Array(0>n?0:n);++rn?Ot(0,i+n):n)||0;return typeof i=="number"?s=-1<(N(e)?e.indexOf(t,n):R(e,t,n)):an(e,function(e){if(++r>=n)return!(s=e===t)}),s}
+function A(e,t,n){var r=!0,t=u(t,n);if(vn(e))for(var n=-1,i=e.length;++nr&&(r=n,a=e)});else for(;++sa&&(a=e[s]);return a}function H(e,t){return D(e,t+"")}function B(e,t,n,r){var i=3>arguments.length,t=u(t,r,et);if(vn(e)){var s=-1,o=
+e.length;for(i&&(n=e[++s]);++sarguments.length;if(typeof s!="number")var a=gn(e),s=a.length;else Gt&&N(e)&&(i=e.split(""));return t=u(t,r,et),_(e,function(e,r,u){r=a?a[--s]:--s,n=o?(o=!1,i[r]):t(n,i[r],r,u)}),n}function F(e,t,n){var r,t=u(t,n);if(vn(e))for(var n=-1,i=e.length;++nn?Ot(0,i+n):n||0)-1;else if(n)return r=z(e,t),e[r]===t?r:-1;for(;++r>>1,n(e[r])R(a,c))(n||f)&&a.push(c),o.push(r)}return o}function X(e,t){return zt||Nt&&2|{(\/]|\[\D|\b(?:delete|in|instanceof|new|typeof|void)\b/,it=/&(?:amp|lt|gt|quot|#x27);/g,st=/\b__p\+='';/g,ot=/\b(__p\+=)''\+/g,ut=/(__e\(.*?\)|\b__t\))\+'';/g,at=/\w*$/,ft=/(?:__e|__t=)\(\s*(?![\d\s"']|this\.)/g
+,lt=RegExp("^"+(Y.valueOf+"").replace(/[.*+?^=!:${}()|[\]\/\\]/g,"\\$&").replace(/valueOf|for [^\]]+/g,".+?")+"$"),ct=/\$\{((?:(?=\\?)\\?[\s\S])*?)}/g,ht=/<%=([\s\S]+?)%>/g,pt=/($^)/,dt=/[&<>"']/g,vt=/['\n\r\t\u2028\u2029\\]/g,mt="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" "),gt=Math.ceil,yt=G.concat,bt=Math.floor,wt=lt.test(wt=Object.getPrototypeOf)&&wt,Et=Y.hasOwnProperty,St=G.push,xt=Y.propertyIsEnumerable,Tt=Y.toString,Nt=lt.test(Nt=
+p.bind)&&Nt,Ct=lt.test(Ct=Array.isArray)&&Ct,kt=e.isFinite,Lt=e.isNaN,At=lt.test(At=Object.keys)&&At,Ot=Math.max,Mt=Math.min,_t=Math.random,Dt="[object Arguments]",Pt="[object Array]",Ht="[object Boolean]",Bt="[object Date]",jt="[object Number]",Ft="[object Object]",It="[object RegExp]",qt="[object String]",Rt=!!e.attachEvent,Ut=Nt&&!/\n|true/.test(Nt+Rt),zt=Nt&&!Ut,Wt=At&&(Rt||Ut),Xt,Vt,$t=($t={0:1,length:1},G.splice.call($t,0,1),$t[0]),Jt=!0;(function(){function e(){this.x=1}var t=[];e.prototype=
+{valueOf:1,y:1};for(var n in new e)t.push(n);for(n in arguments)Jt=!n;Xt=!/valueOf/.test(t),Vt="x"!=t[0]})(1);var Kt=arguments.constructor==Object,Qt=!v(arguments),Gt="xx"!="x"[0]+Object("x")[0];try{var Yt=("[object Object]",Tt.call(document)==Ft)}catch(Zt){}var en={"[object Function]":!1};en[Dt]=en[Pt]=en[Ht]=en[Bt]=en[jt]=en[Ft]=en[It]=en[qt]=!0;var tn={};tn[Pt]=Array,tn[Ht]=Boolean,tn[Bt]=Date,tn[Ft]=Object,tn[jt]=Number,tn[It]=RegExp,tn[qt]=String;var nn={"boolean":!1,"function":!0,object:!0,
+number:!1,string:!1,"undefined":!1},rn={"\\":"\\","'":"'","\n":"n","\r":"r"," ":"t","\u2028":"u2028","\u2029":"u2029"};n.templateSettings={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:ht,variable:""};var sn={a:"o,v,g",k:"for(var a=1,b=typeof g=='number'?2:arguments.length;a":">",'"':""","'":"'"},pn=w(hn),dn=a(sn,{g:"if(t[i]==null)"+sn.g}),vn=Ct||function(e){return Kt&&e instanceof Array||Tt.call(e)==Pt};S(/x/)&&(S=function(e){return e instanceof Function||"[object Function]"==Tt.call(e)});var mn=wt?function(e){if(!e||typeof e!="object")return!1;var t=e.valueOf,n=typeof t=="function"&&(n=wt(t))&&wt(n);return n?e==n||wt(e)==n&&!v(e):m(e)
+}:m,gn=At?function(e){return typeof e=="function"&&xt.call(e,"prototype")?g(e):x(e)?At(e):[]}:g;n.after=function(e,t){return 1>e?t():function(){if(1>--e)return t.apply(this,arguments)}},n.assign=fn,n.bind=X,n.bindAll=function(e){for(var t=arguments,n=1R(f,l)){u&&f.push(l);for(var h=n;--h;)if(!(i[h]||(i[h]=r(t[h],0,100)))(l))continue e;a.push(l)}}return a},n.invert=w,n.invoke=function(e,t){var n=p(arguments,2),r=typeof t=="function",i=[];return _(e,function(e){i.push((r?t:e[t]).apply(e,n))}),i},n.keys=gn,n.map=D,
+n.max=P,n.memoize=function(e,t){var n={};return function(){var r=t?t.apply(this,arguments):arguments[0];return Et.call(n,r)?n[r]:n[r]=e.apply(this,arguments)}},n.merge=C,n.min=function(e,t,n){var r=Infinity,s=-1,o=e?e.length:0,a=r;if(t||!vn(e))t=!t&&N(e)?i:u(t,n),an(e,function(e,n,i){n=t(e,n,i),nR(s,n,1))i[n]=e}),i},n.once=function(e){var t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}},n.pairs=function(e){var t=[];return cn(e,function(e,n){t.push([n,e])}),t},n.partial=function(e){return o(e,p(arguments,1))},n.pick=function(e,t,n){var r={};if(typeof t!="function")for(var i=0,s=yt.apply(G,arguments),o=s.length;++i=f?(clearTimeout(o),o=null,u=a,i=e.apply(s,r)):o||(o=setTimeout(n,f)),i}},n.times=function(e,t,n){for(var e=+e||0,r=-1,i=Array(e);++rn?Ot(0,r+n):Mt(n,r-1))+1);r--;)if(e[r]===t)return r;return-1},n.mixin=$,n.noConflict=function(){return e._=nt,this},n.random=function(e,t){return null==e&&null==t&&(t=1),e=+e||0,null==t&&(t=e,e=0),e+bt(_t()*((+t||0)-e+1))},n.reduce=B,n.reduceRight=j,n.result=function(e,t){var n=e?e[t]:null;return S(n)?e[t]():n},n.size=function(e){var t=e?e.length:0;
+return typeof t=="number"?t:gn(e).length},n.some=F,n.sortedIndex=z,n.template=function(e,t,r){e||(e=""),r||(r={});var i,s,o=n.templateSettings,u=0,a=r.interpolate||o.interpolate||pt,l="__p+='",c=r.variable||o.variable,h=c;e.replace(RegExp((r.escape||o.escape||pt).source+"|"+a.source+"|"+(a===ht?ct:pt).source+"|"+(r.evaluate||o.evaluate||pt).source+"|$","g"),function(t,n,r,s,o,a){return r||(r=s),l+=e.slice(u,a).replace(vt,f),n&&(l+="'+__e("+n+")+'"),o&&(l+="';"+o+";__p+='"),r&&(l+="'+((__t=("+r+"))==null?'':__t)+'"
+),i||(i=o||rt.test(n||r)),u=a+t.length,t}),l+="';\n",h||(c="obj",i?l="with("+c+"){"+l+"}":(r=RegExp("(\\(\\s*)"+c+"\\."+c+"\\b","g"),l=l.replace(ft,"$&"+c+".").replace(r,"$1__d"))),l=(i?l.replace(st,""):l).replace(ot,"$1").replace(ut,"$1;"),l="function("+c+"){"+(h?"":c+"||("+c+"={});")+"var __t,__p='',__e=_.escape"+(i?",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}":(h?"":",__d="+c+"."+c+"||"+c)+";")+l+"return __p}";try{s=Function("_","return "+l)(n)}catch(p){throw p.source=
+l,p}return t?s(t):(s.source=l,s)},n.unescape=function(e){return null==e?"":(e+"").replace(it,d)},n.uniqueId=function(e){return(null==e?"":e+"")+ ++Z},n.all=A,n.any=F,n.detect=M,n.foldl=B,n.foldr=j,n.include=L,n.inject=B,cn(n,function(e,t){n.prototype[t]||(n.prototype[t]=function(){var t=[this.__wrapped__];return St.apply(t,arguments),e.apply(n,t)})}),n.first=I,n.last=function(e,t,n){if(e){var r=e.length;return null==t||n?e[r-1]:p(e,Ot(0,r-t))}},n.take=I,n.head=I,cn(n,function(e,t){n.prototype[t]||
+(n.prototype[t]=function(t,r){var i=e(this.__wrapped__,t,r);return null==t||r?i:new n(i)})}),n.VERSION="1.0.0-rc.3",n.prototype.toString=function(){return this.__wrapped__+""},n.prototype.value=J,n.prototype.valueOf=J,an(["join","pop","shift"],function(e){var t=G[e];n.prototype[e]=function(){return t.apply(this.__wrapped__,arguments)}}),an(["push","reverse","sort","unshift"],function(e){var t=G[e];n.prototype[e]=function(){return t.apply(this.__wrapped__,arguments),this}}),an(["concat","slice","splice"
+],function(e){var t=G[e];n.prototype[e]=function(){var e=t.apply(this.__wrapped__,arguments);return new n(e)}}),$t&&an(["pop","shift","splice"],function(e){var t=G[e],r="splice"==e;n.prototype[e]=function(){var e=this.__wrapped__,i=t.apply(e,arguments);return 0===e.length&&delete e[0],r?new n(i):i}}),typeof define=="function"&&typeof define.amd=="object"&&define.amd?(e._=n,define(function(){return n})):K?typeof module=="object"&&module&&module.exports==K?(module.exports=n)._=n:K._=n:e._=n})(this);
\ No newline at end of file
diff --git a/app/assets/javascripts/results.js.coffee b/app/assets/javascripts/results.js.coffee
new file mode 100644
index 0000000..24f83d1
--- /dev/null
+++ b/app/assets/javascripts/results.js.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/solutions.js.coffee b/app/assets/javascripts/solutions.js.coffee
new file mode 100644
index 0000000..24f83d1
--- /dev/null
+++ b/app/assets/javascripts/solutions.js.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/javascripts/users.js.coffee b/app/assets/javascripts/users.js.coffee
new file mode 100644
index 0000000..24f83d1
--- /dev/null
+++ b/app/assets/javascripts/users.js.coffee
@@ -0,0 +1,3 @@
+# Place all the behaviors and hooks related to the matching controller here.
+# All this logic will automatically be available in application.js.
+# You can use CoffeeScript in this file: http://coffeescript.org/
diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css
new file mode 100644
index 0000000..3192ec8
--- /dev/null
+++ b/app/assets/stylesheets/application.css
@@ -0,0 +1,13 @@
+/*
+ * This is a manifest file that'll be compiled into application.css, which will include all the files
+ * listed below.
+ *
+ * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
+ * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
+ *
+ * You're free to add application-wide styles to this file and they'll appear at the top of the
+ * compiled file, but it's generally better to create a new file per style scope.
+ *
+ *= require_self
+ *= require_tree .
+ */
diff --git a/app/assets/stylesheets/main.css b/app/assets/stylesheets/main.css
new file mode 100644
index 0000000..ca61103
--- /dev/null
+++ b/app/assets/stylesheets/main.css
@@ -0,0 +1,324 @@
+
+@font-face {
+ font-family: 'Oxygen';
+ font-style: normal;
+ font-weight: 400;
+ src: url(oxygen400.ttf) format('truetype');
+ src: url(oxygen400.woff) format('woff');
+ src: url(oxygen400.eot);
+ src: local('Oxygen'), local('Oxygen-Regular'), url(oxygen400.eot) format('embedded-opentype'), url(oxygen400.woff) format('woff');
+}
+
+@font-face {
+ font-family: 'Oxygen';
+ font-style: normal;
+ font-weight: 700;
+ src: url(oxygen700.ttf) format('truetype');
+ src: url(oxygen700.woff) format('woff');
+ src: url(oxygen400.eot);
+ src: local('Oxygen Bold'), local('Oxygen-Bold'), url(oxygen700.eot) format('embedded-opentype'), url(oxygen700.woff) format('woff');
+}
+
+
+html {
+ -webkit-tap-highlight-color: rgba(0,0,0,0);
+}
+
+body {
+ font-family: Oxygen, sans-serif;
+ font-size: 16px;
+ min-width: 320px;
+ background-color: #ecebe6;
+ color: #666;
+}
+
+a {
+ text-decoration: none;
+ color: #666;
+}
+
+.main {
+ padding: 10px;
+ max-width: 820px;
+ min-width: 320px;
+ margin: 0 auto;
+}
+
+.footer {
+ text-align: center;
+ font-size: .9em;
+ line-height: 1.7;
+ color: #666;
+ border-top: 1px solid #ccc;
+ padding: 5px;
+
+ bottom: 0px;
+ left: 0px;
+ right: 0px;
+ z-index: -1;
+ min-width: 320px;
+}
+
+.home {
+ text-align: center;
+ margin-top: 50px;
+}
+
+.wins {
+ text-align: left;
+ border: 1px solid #ccc;
+ padding: 10px;
+ width: 80%;
+ margin: 20px auto;
+ overflow-y: auto;
+}
+
+.word {
+ font-weight: bold;
+}
+
+.topnav {
+ overflow: hidden;
+ margin-bottom: 20px;
+}
+
+.title, .titlenum {
+ font-weight: bold;
+ font-size: 1.6em;
+ line-height: 1;
+ color: #faa51a;
+ margin: 0px;
+}
+
+.title {
+ float: left;
+}
+
+.titlenum {
+ float: right;
+}
+
+.nav {
+ text-align: center;
+ margin: 20px;
+}
+
+.nav span {
+ display: inline-block;
+ padding: 0px 10px;
+ cursor: pointer;
+ color: #666;
+ border: 1px solid #faa51a;
+ line-height: 1.5;
+ margin: 0px 5px;
+}
+
+.timer {
+ color: #aaa;
+ position: absolute;
+ top: 0px;
+ left: 0px;
+ right: 0px;
+ text-align: center;
+ padding-top: 10px;
+ min-width: 340px;
+}
+
+.content {
+ clear: both;
+}
+
+
+
+body {
+ -webkit-user-select: none;
+ -khtml-user-select: none;
+ -moz-user-select: none;
+ -o-user-select: none;
+ user-select: none;
+}
+
+.squares table {
+ width: 100%;
+ margin: 0px auto;
+}
+
+.squares tr {
+ text-align: center;
+}
+
+.squares td {
+ text-align: center;
+ width: 16%;
+ height: 62px;
+}
+
+.letters {
+ margin: 5px;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
+ -khtml-user-select: none;
+ font-size: 1.8em;
+ line-height: 1.8;
+ font-weight: bold;
+ text-transform: uppercase;
+ color: #fff;
+ text-align: center;
+ background-color: #FAA51A;
+ cursor: pointer
+ }
+
+
+.puznum {
+ font-size: 1em;
+ padding: 5px;
+ margin: 20px auto;
+ border: 1px solid #333;
+ text-align: center;
+ position: relative;
+ outline: none;
+}
+
+.btn {
+ padding: 0 10px;
+ margin-left: 5px;
+ -moz-user-select: none;
+ -webkit-user-select: none;
+ user-select: none;
+ -khtml-user-select: none;
+ font-size: 1.1em;
+ line-height: 1.6;
+ font-weight: bold;
+ text-transform: uppercase;
+ color: #fff;
+ text-align: center;
+ background-color: #FAA51A;
+ border: none;
+ cursor: pointer
+ }
+
+.clues {
+ margin: 0px;
+}
+
+.clues ul {
+ margin: 0px;
+ padding: 0px;
+ list-style-type: none;
+}
+.clues li {
+ cursor: default;
+ padding: 5px;
+}
+
+.clues li:nth-child(odd) {
+ background-color: #fff;
+}
+
+.answer {
+ margin: 15px auto;
+ border: 1px solid #aaa;
+ overflow: hidden;
+ padding: 5px 5px;
+ text-align: center;
+ position: relative;
+ background-color: #fff;
+}
+
+.answertext, .reset, .guess {
+ margin: 14px 20px 10px;
+}
+
+.reset {
+ color: #aaa;
+ padding: 5px 13px;
+ cursor: pointer;
+ position: absolute;
+ right: 8px;
+ top: 8px;
+ margin: 0px;
+ font-size: 1.2em;
+}
+
+.answertext {
+ font-weight: bold;
+ font-size: 2em;
+ color: #faa51a;
+}
+
+.correct {
+ color: #faa51a;
+ font-weight: bold;
+}
+
+.squares h1 {
+ text-align: center;
+ margin: 20px;
+ font-size: 3em;
+ color: green;
+}
+
+.squares h3 {
+ text-align: center;
+}
+
+.share {
+ margin-top: 20px;
+}
+
+.share i {
+ display: inline-block;
+ padding-top: 3px;
+ width: 32px;
+ height: 32px;
+ vertical-align: middle;
+ background-repeat: no-repeat;
+ background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAEJGlDQ1BJQ0MgUHJvZmlsZQAAOBGFVd9v21QUPolvUqQWPyBYR4eKxa9VU1u5GxqtxgZJk6XtShal6dgqJOQ6N4mpGwfb6baqT3uBNwb8AUDZAw9IPCENBmJ72fbAtElThyqqSUh76MQPISbtBVXhu3ZiJ1PEXPX6yznfOec7517bRD1fabWaGVWIlquunc8klZOnFpSeTYrSs9RLA9Sr6U4tkcvNEi7BFffO6+EdigjL7ZHu/k72I796i9zRiSJPwG4VHX0Z+AxRzNRrtksUvwf7+Gm3BtzzHPDTNgQCqwKXfZwSeNHHJz1OIT8JjtAq6xWtCLwGPLzYZi+3YV8DGMiT4VVuG7oiZpGzrZJhcs/hL49xtzH/Dy6bdfTsXYNY+5yluWO4D4neK/ZUvok/17X0HPBLsF+vuUlhfwX4j/rSfAJ4H1H0qZJ9dN7nR19frRTeBt4Fe9FwpwtN+2p1MXscGLHR9SXrmMgjONd1ZxKzpBeA71b4tNhj6JGoyFNp4GHgwUp9qplfmnFW5oTdy7NamcwCI49kv6fN5IAHgD+0rbyoBc3SOjczohbyS1drbq6pQdqumllRC/0ymTtej8gpbbuVwpQfyw66dqEZyxZKxtHpJn+tZnpnEdrYBbueF9qQn93S7HQGGHnYP7w6L+YGHNtd1FJitqPAR+hERCNOFi1i1alKO6RQnjKUxL1GNjwlMsiEhcPLYTEiT9ISbN15OY/jx4SMshe9LaJRpTvHr3C/ybFYP1PZAfwfYrPsMBtnE6SwN9ib7AhLwTrBDgUKcm06FSrTfSj187xPdVQWOk5Q8vxAfSiIUc7Z7xr6zY/+hpqwSyv0I0/QMTRb7RMgBxNodTfSPqdraz/sDjzKBrv4zu2+a2t0/HHzjd2Lbcc2sG7GtsL42K+xLfxtUgI7YHqKlqHK8HbCCXgjHT1cAdMlDetv4FnQ2lLasaOl6vmB0CMmwT/IPszSueHQqv6i/qluqF+oF9TfO2qEGTumJH0qfSv9KH0nfS/9TIp0Wboi/SRdlb6RLgU5u++9nyXYe69fYRPdil1o1WufNSdTTsp75BfllPy8/LI8G7AUuV8ek6fkvfDsCfbNDP0dvRh0CrNqTbV7LfEEGDQPJQadBtfGVMWEq3QWWdufk6ZSNsjG2PQjp3ZcnOWWing6noonSInvi0/Ex+IzAreevPhe+CawpgP1/pMTMDo64G0sTCXIM+KdOnFWRfQKdJvQzV1+Bt8OokmrdtY2yhVX2a+qrykJfMq4Ml3VR4cVzTQVz+UoNne4vcKLoyS+gyKO6EHe+75Fdt0Mbe5bRIf/wjvrVmhbqBN97RD1vxrahvBOfOYzoosH9bq94uejSOQGkVM6sN/7HelL4t10t9F4gPdVzydEOx83Gv+uNxo7XyL/FtFl8z9ZAHF4bBsrEwAAAAlwSFlzAAALEwAACxMBAJqcGAAAAnppVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IlhNUCBDb3JlIDUuMS4yIj4KICAgPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICAgICAgPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIKICAgICAgICAgICAgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIj4KICAgICAgICAgPHhtcDpDcmVhdG9yVG9vbD5BZG9iZSBQaG90b3Nob3AgQ1M1LjEgTWFjaW50b3NoPC94bXA6Q3JlYXRvclRvb2w+CiAgICAgIDwvcmRmOkRlc2NyaXB0aW9uPgogICAgICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIgogICAgICAgICAgICB4bWxuczp0aWZmPSJodHRwOi8vbnMuYWRvYmUuY29tL3RpZmYvMS4wLyI+CiAgICAgICAgIDx0aWZmOllSZXNvbHV0aW9uPjcyPC90aWZmOllSZXNvbHV0aW9uPgogICAgICAgICA8dGlmZjpPcmllbnRhdGlvbj4xPC90aWZmOk9yaWVudGF0aW9uPgogICAgICAgICA8dGlmZjpYUmVzb2x1dGlvbj43MjwvdGlmZjpYUmVzb2x1dGlvbj4KICAgICAgPC9yZGY6RGVzY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CohVDBoAAAaFSURBVFgJxVdNbFRVFD73vvfmt9Nap9OpUEMTFU01aiQujAYbY7QbEhZUo9GkChTUhQt146btwuhC8ScGoS3EBXHRxogaQzDGFoMxQgjKogoJqcYq7fSHaaedmc68967fuW/eMNRpKWDCTd68++4953zn755zRyil6EYOeSPBGdv8PxUQQ2RQggQdK0t1VTe55a9qEw6B/1CPkv78at40OGisxIt1EwCCCE/PsLmcTjAQDyEIc9IflfNqSleusdWqgxxei++faBVSbgJaFIDjRTv0Y/qluou8JzCA5cnvI0t1UVGv85oP2LRvsnFidzKlN8ADak87XqgyfPDEwel1ynU/BPVWEYqaLJCcIqlCPgXx78x0Jd9n9uT+1H2OVDsMJT6Y7Go8L3pJSh+cCWyTDicOpF7nOQ2RhJgVk1QMDWnL43v/uVU5zkkZa9iG6Jsqv+DicVRhyRWBcKOM1u1p6E8dbRiY/E7VN/4CycoDHzE5PwQNKi2o/tOJFsOW50QwYqmlhZendzR9wnoIuIt2ke2HR69VhCsxkDoiam5uV5mZPKIchBegd2kIgdBgIRg1hBUiNzP7uXTstxxD3jGrmr7gMEgaHdEM0hZNSBYLbgNDbG/DQOpjuDigY4VAiL5TFrtMi+4ZMfid6J94lMxAu5uZcUESugxcEyoDa4bKZ13QZKHM/a5hHJeuyLFcHQJqbfPi7Kh58DikXIIHHBGpeyWenjwdPzDVDgKlujYVtctgfcuGFn184b/NBMugnltht4bWPyyZzRPwjWFEkBu34fOZqV3Jr3X+IAQmdXjndHbi93PxdXedF4HIRrWUVWoxbSMcrUjdI3DzD+Sq/UvkfqvULdNELXkGgNQg0ggzzwZe++/QuQxcASuofXpn8qgYGg2ojtYC05psHcdZdbcVE32pPSIc2wcFWKpUhSxiKCTWNoN7cyCXSSGZfoZBp8F2EpY1kw05OGIsvfrAuoA414Esd1zTjKZQnFr11CydguJNn83VKyM0FEhPbhJWcKeyC4gFYsiisxmb3SjMQCMFQlsgcAu5NtFSDuHKsg06J6orgFUGccEgLK8q+mHHlqRSQlmLuXstN/sralE9wDMAkQwOeM55VDMkE5RS2XlbLc7ZKrcABbn+YH8l41kjSBAS7EJcLAprkpdo9BIHfNOmtSpGw2egab2MJbaBJAqXMbM+IWVyAYVx1rHBSSj1+mrgPrcZALkam9teO4sJUU9ZIuLMxaB3xEw/i5KpaMBDVTpBNHHlD4OtBlhJq+ece8IVhsVp8hMviRHkXank8zcnG4bnBcfK9bgLs2dFXTLEcbvuoRNTmaqY5xw8quUdu1yqVkB7AaX1YmdLuhAIP6zSE4OIPZKGj9A1DtZfkINyLHCafpu9cPZ7Lanba1y+1JIH8PlUh86FiMjm0QUO6QftQXviWhVRMMBEdXapH8fc1u5fFkROJm+UbA07OSfjht4VoZqNtLSQRx5a4Lm6eDC1EihkYVNl587WBpK6r1Db5dYzcNkDwFeozeZYJ6qcpOc5bhSq4TrLfZvP29qGpyr0Rm2QKCOu+9pYJ+WrWc8CywrwB3LB5ho9vb3phLCLj6Gt/iljcUuEay8VmtV8oS1nSehyNXGh8pmPprqavtF1vw3hrDLKCoCX815wb+BaDcZhWZD3OPOpbSo3fwi7jqaAaVXkeNywQYPHGgLofoendyRf1bSjvdV5sFm+klUVisV4/8TdUOw9kuaTyCavMlYSs9peH2ALTVmbIHd+6quZncmtOqz64tKxYgi1Atz3Y7lMLDP2V6a5ttbIRY0NiuQjaENP4xg9Tigk8IKWp7HZHj4ZuqAgx/nCF6oxqLhEKNdvo+O9yXTa9aX7ouar8qNPQfP4uJGtsZ5rWN/wYk6p28kwIzIY4Q5GKr/ooNjDOmRUqTJzvuKRwrQkBaOSGxN6wylhyDcAPuyB85VtZct9XVgQvOAV2PjB1EPSUS9A/BNoRhtgPXD9k8pmY/gV0uZLZy4N9x+HXgOI95d6m/8bII/YXZr+Cj9eCCrueEy/vu9CpCCsB13lPADAO4HZCC8EoSg8IWZR3v9QSp4hp3Bienfz3z4G9xQuOP73mt58Lfeu67Cb/zgMo3aX1tby5j8azAMh2pi18FTSaKblmoreXhzPbu+Itg4p6kCZRrC0U3t5NoK9Nma78l8vplplVFVgOT1CwPB6+Pnif1/ve00KXC/Iavz/AiaNmp4c6XwYAAAAAElFTkSuQmCC);
+}
+
+
+@media (max-width: 959px) {
+
+ .forkme{
+ display:none;
+ }
+
+}
+
+
+
+@media (max-width: 480px) {
+
+ body{
+ font-size: 13px;
+ }
+
+ .clues{
+ overflow: auto;
+ height: 140px;
+ -webkit-overflow-scrolling: touch;
+ border: 1px solid #ccc;
+ }
+
+ .nav {
+ margin: 10px;
+ }
+
+ .letters {
+ margin: 1px;
+ font-size: 1.5em;
+ }
+
+ .squares td{
+ height: 38px;
+ }
+
+ .forkme{
+ display: none;
+ }
+
+}
+
+
+
diff --git a/app/assets/stylesheets/normalize.css b/app/assets/stylesheets/normalize.css
new file mode 100644
index 0000000..a9c6f52
--- /dev/null
+++ b/app/assets/stylesheets/normalize.css
@@ -0,0 +1,396 @@
+/*! normalize.css v2.1.0 | MIT License | git.io/normalize */
+
+/* ==========================================================================
+ HTML5 display definitions
+ ========================================================================== */
+
+/**
+ * Correct `block` display not defined in IE 8/9.
+ */
+
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+main,
+nav,
+section,
+summary {
+ display: block;
+}
+
+/**
+ * Correct `inline-block` display not defined in IE 8/9.
+ */
+
+audio,
+canvas,
+video {
+ display: inline-block;
+}
+
+/**
+ * Prevent modern browsers from displaying `audio` without controls.
+ * Remove excess height in iOS 5 devices.
+ */
+
+audio:not([controls]) {
+ display: none;
+ height: 0;
+}
+
+/**
+ * Address styling not present in IE 8/9.
+ */
+
+[hidden] {
+ display: none;
+}
+
+/* ==========================================================================
+ Base
+ ========================================================================== */
+
+/**
+ * 1. Set default font family to sans-serif.
+ * 2. Prevent iOS text size adjust after orientation change, without disabling
+ * user zoom.
+ */
+
+html {
+ font-family: sans-serif; /* 1 */
+ -webkit-text-size-adjust: 100%; /* 2 */
+ -ms-text-size-adjust: 100%; /* 2 */
+}
+
+/**
+ * Remove default margin.
+ */
+
+body {
+ margin: 0;
+}
+
+/* ==========================================================================
+ Links
+ ========================================================================== */
+
+/**
+ * Address `outline` inconsistency between Chrome and other browsers.
+ */
+
+a:focus {
+ outline: thin dotted;
+}
+
+/**
+ * Improve readability when focused and also mouse hovered in all browsers.
+ */
+
+a:active,
+a:hover {
+ outline: 0;
+}
+
+/* ==========================================================================
+ Typography
+ ========================================================================== */
+
+/**
+ * Address variable `h1` font-size and margin within `section` and `article`
+ * contexts in Firefox 4+, Safari 5, and Chrome.
+ */
+
+h1 {
+ font-size: 2em;
+ margin: 0.67em 0;
+}
+
+/**
+ * Address styling not present in IE 8/9, Safari 5, and Chrome.
+ */
+
+abbr[title] {
+ border-bottom: 1px dotted;
+}
+
+/**
+ * Address style set to `bolder` in Firefox 4+, Safari 5, and Chrome.
+ */
+
+b,
+strong {
+ font-weight: bold;
+}
+
+/**
+ * Address styling not present in Safari 5 and Chrome.
+ */
+
+dfn {
+ font-style: italic;
+}
+
+/**
+ * Address differences between Firefox and other browsers.
+ */
+
+hr {
+ -moz-box-sizing: content-box;
+ box-sizing: content-box;
+ height: 0;
+}
+
+/**
+ * Address styling not present in IE 8/9.
+ */
+
+mark {
+ background: #ff0;
+ color: #000;
+}
+
+/**
+ * Correct font family set oddly in Safari 5 and Chrome.
+ */
+
+code,
+kbd,
+pre,
+samp {
+ font-family: monospace, serif;
+ font-size: 1em;
+}
+
+/**
+ * Improve readability of pre-formatted text in all browsers.
+ */
+
+pre {
+ white-space: pre-wrap;
+}
+
+/**
+ * Set consistent quote types.
+ */
+
+q {
+ quotes: "\201C" "\201D" "\2018" "\2019";
+}
+
+/**
+ * Address inconsistent and variable font size in all browsers.
+ */
+
+small {
+ font-size: 80%;
+}
+
+/**
+ * Prevent `sub` and `sup` affecting `line-height` in all browsers.
+ */
+
+sub,
+sup {
+ font-size: 75%;
+ line-height: 0;
+ position: relative;
+ vertical-align: baseline;
+}
+
+sup {
+ top: -0.5em;
+}
+
+sub {
+ bottom: -0.25em;
+}
+
+/* ==========================================================================
+ Embedded content
+ ========================================================================== */
+
+/**
+ * Remove border when inside `a` element in IE 8/9.
+ */
+
+img {
+ border: 0;
+}
+
+/**
+ * Correct overflow displayed oddly in IE 9.
+ */
+
+svg:not(:root) {
+ overflow: hidden;
+}
+
+/* ==========================================================================
+ Figures
+ ========================================================================== */
+
+/**
+ * Address margin not present in IE 8/9 and Safari 5.
+ */
+
+figure {
+ margin: 0;
+}
+
+/* ==========================================================================
+ Forms
+ ========================================================================== */
+
+/**
+ * Define consistent border, margin, and padding.
+ */
+
+fieldset {
+ border: 1px solid #c0c0c0;
+ margin: 0 2px;
+ padding: 0.35em 0.625em 0.75em;
+}
+
+/**
+ * 1. Correct `color` not being inherited in IE 8/9.
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
+ */
+
+legend {
+ border: 0; /* 1 */
+ padding: 0; /* 2 */
+}
+
+/**
+ * 1. Correct font family not being inherited in all browsers.
+ * 2. Correct font size not being inherited in all browsers.
+ * 3. Address margins set differently in Firefox 4+, Safari 5, and Chrome.
+ */
+
+button,
+input,
+select,
+textarea {
+ font-family: inherit; /* 1 */
+ font-size: 100%; /* 2 */
+ margin: 0; /* 3 */
+}
+
+/**
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in
+ * the UA stylesheet.
+ */
+
+button,
+input {
+ line-height: normal;
+}
+
+/**
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
+ * All other form control elements do not inherit `text-transform` values.
+ * Correct `button` style inheritance in Chrome, Safari 5+, and IE 8+.
+ * Correct `select` style inheritance in Firefox 4+ and Opera.
+ */
+
+button,
+select {
+ text-transform: none;
+}
+
+/**
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
+ * and `video` controls.
+ * 2. Correct inability to style clickable `input` types in iOS.
+ * 3. Improve usability and consistency of cursor style between image-type
+ * `input` and others.
+ */
+
+button,
+html input[type="button"], /* 1 */
+input[type="reset"],
+input[type="submit"] {
+ -webkit-appearance: button; /* 2 */
+ cursor: pointer; /* 3 */
+}
+
+/**
+ * Re-set default cursor for disabled elements.
+ */
+
+button[disabled],
+html input[disabled] {
+ cursor: default;
+}
+
+/**
+ * 1. Address box sizing set to `content-box` in IE 8/9.
+ * 2. Remove excess padding in IE 8/9.
+ */
+
+input[type="checkbox"],
+input[type="radio"] {
+ box-sizing: border-box; /* 1 */
+ padding: 0; /* 2 */
+}
+
+/**
+ * 1. Address `appearance` set to `searchfield` in Safari 5 and Chrome.
+ * 2. Address `box-sizing` set to `border-box` in Safari 5 and Chrome
+ * (include `-moz` to future-proof).
+ */
+
+input[type="search"] {
+ -webkit-appearance: textfield; /* 1 */
+ -moz-box-sizing: content-box;
+ -webkit-box-sizing: content-box; /* 2 */
+ box-sizing: content-box;
+}
+
+/**
+ * Remove inner padding and search cancel button in Safari 5 and Chrome
+ * on OS X.
+ */
+
+input[type="search"]::-webkit-search-cancel-button,
+input[type="search"]::-webkit-search-decoration {
+ -webkit-appearance: none;
+}
+
+/**
+ * Remove inner padding and border in Firefox 4+.
+ */
+
+button::-moz-focus-inner,
+input::-moz-focus-inner {
+ border: 0;
+ padding: 0;
+}
+
+/**
+ * 1. Remove default vertical scrollbar in IE 8/9.
+ * 2. Improve readability and alignment in all browsers.
+ */
+
+textarea {
+ overflow: auto; /* 1 */
+ vertical-align: top; /* 2 */
+}
+
+/* ==========================================================================
+ Tables
+ ========================================================================== */
+
+/**
+ * Remove most spacing between table cells.
+ */
+
+table {
+ border-collapse: collapse;
+ border-spacing: 0;
+}
diff --git a/app/assets/stylesheets/oxygen400.eot b/app/assets/stylesheets/oxygen400.eot
new file mode 100644
index 0000000..5f93f00
Binary files /dev/null and b/app/assets/stylesheets/oxygen400.eot differ
diff --git a/app/assets/stylesheets/oxygen400.ttf b/app/assets/stylesheets/oxygen400.ttf
new file mode 100644
index 0000000..982a032
Binary files /dev/null and b/app/assets/stylesheets/oxygen400.ttf differ
diff --git a/app/assets/stylesheets/oxygen400.woff b/app/assets/stylesheets/oxygen400.woff
new file mode 100644
index 0000000..00f158e
Binary files /dev/null and b/app/assets/stylesheets/oxygen400.woff differ
diff --git a/app/assets/stylesheets/oxygen700.eot b/app/assets/stylesheets/oxygen700.eot
new file mode 100644
index 0000000..eebd37f
Binary files /dev/null and b/app/assets/stylesheets/oxygen700.eot differ
diff --git a/app/assets/stylesheets/oxygen700.ttf b/app/assets/stylesheets/oxygen700.ttf
new file mode 100644
index 0000000..95c3726
Binary files /dev/null and b/app/assets/stylesheets/oxygen700.ttf differ
diff --git a/app/assets/stylesheets/oxygen700.woff b/app/assets/stylesheets/oxygen700.woff
new file mode 100644
index 0000000..c0373d1
Binary files /dev/null and b/app/assets/stylesheets/oxygen700.woff differ
diff --git a/app/controllers/application_controller.rb b/app/controllers/application_controller.rb
new file mode 100644
index 0000000..a5f769d
--- /dev/null
+++ b/app/controllers/application_controller.rb
@@ -0,0 +1,20 @@
+class ApplicationController < ActionController::Base
+ # Prevent CSRF attacks by raising an exception.
+ # For APIs, you may want to use :null_session instead.
+ protect_from_forgery with: :exception
+
+ #before_filter :set_default_response_format
+ #
+ #private
+ #def set_default_response_format
+ # request.format = :json
+ #end
+
+ before_filter :allow_cors
+ def allow_cors
+ headers['Access-Control-Allow-Origin'] = '*'
+ headers['Access-Control-Allow-Methods'] = 'POST, PUT, DELETE, GET, OPTIONS'
+ headers['Access-Control-Request-Method'] = '*'
+ headers['Access-Control-Allow-Headers'] = 'Origin, X-Requested-With, Content-Type, Accept, Authorization'
+ end
+end
diff --git a/app/controllers/concerns/.keep b/app/controllers/concerns/.keep
new file mode 100644
index 0000000..e69de29
diff --git a/app/controllers/guesses_controller.rb b/app/controllers/guesses_controller.rb
new file mode 100644
index 0000000..1aa687b
--- /dev/null
+++ b/app/controllers/guesses_controller.rb
@@ -0,0 +1,34 @@
+class GuessesController < ApplicationController
+ skip_before_filter :verify_authenticity_token
+ #before_filter :allow_cors
+
+
+ # GET /guesses
+ # GET /guesses.json
+ def index
+ @guesses = Guess.all.order("created_at DESC")
+ end
+
+
+ # POST /guesses
+ # POST /guesses.json
+ def create
+ @guess = Guess.new
+ @guess.username = params[:username]
+ @guess.definition = params[:definition]
+ Rails.logger.debug(params.inspect)
+
+ respond_to do |format|
+ if @guess.save
+ format.json { render action: 'show', status: :created, location: @guess }
+ else
+ format.json { render json: @guess.errors, status: :unprocessable_entity }
+ end
+ end
+ end
+
+ def show
+ @guess = Guess.find(params[:id])
+ end
+end
+
diff --git a/app/controllers/results_controller.rb b/app/controllers/results_controller.rb
new file mode 100644
index 0000000..38d6fc8
--- /dev/null
+++ b/app/controllers/results_controller.rb
@@ -0,0 +1,45 @@
+class ResultsController < ApplicationController
+ before_action :set_result, only: [:show, :edit, :update, :destroy]
+
+ # GET /results
+ # GET /results.json
+ def index
+ @results = Result.all
+ end
+
+ # GET /results/1
+ # GET /results/1.json
+ def show
+ end
+
+
+
+ # POST /results
+ # POST /results.json
+ def create
+ @result = Result.new(result_params)
+
+ respond_to do |format|
+ if @result.save
+ format.html { redirect_to @result, notice: 'Result was successfully created.' }
+ format.json { render action: 'show', status: :created, location: @result }
+ else
+ format.html { render action: 'new' }
+ format.json { render json: @result.errors, status: :unprocessable_entity }
+ end
+ end
+ end
+
+
+
+ private
+ # Use callbacks to share common setup or constraints between actions.
+ def set_result
+ @result = Result.find(params[:id])
+ end
+
+ # Never trust parameters from the scary internet, only allow the white list through.
+ def result_params
+ params.require(:result).permit(:user_id, :time)
+ end
+end
diff --git a/app/controllers/solutions_controller.rb b/app/controllers/solutions_controller.rb
new file mode 100644
index 0000000..a9573f7
--- /dev/null
+++ b/app/controllers/solutions_controller.rb
@@ -0,0 +1,37 @@
+class SolutionsController < ApplicationController
+
+ skip_before_filter :verify_authenticity_token
+
+ #before_filter :allow_cors
+
+ # GET /solutions
+ # GET /solutions.json
+ def index
+ @solutions = Solution.all
+ end
+
+ # GET /solutions/1
+ # GET /solutions/1.json
+ def show
+ @solution = Solution.find(params[:id])
+ end
+
+
+ # POST /solutions
+ # POST /solutions.json
+ def create
+ @solution = Solution.new
+ @solution.time = params[:time]
+ @solution.number = params[:number].to_i
+ @solution.username = params[:username]
+
+ respond_to do |format|
+ if @solution.save
+ format.json { render action: 'show', status: :created, location: @solution }
+ else
+ format.json { render json: @solution.errors, status: :unprocessable_entity }
+ end
+ end
+ end
+
+end
diff --git a/app/controllers/users_controller.rb b/app/controllers/users_controller.rb
new file mode 100644
index 0000000..6792fc4
--- /dev/null
+++ b/app/controllers/users_controller.rb
@@ -0,0 +1,12 @@
+class UsersController < ApplicationController
+
+
+ # GET /users
+ # GET /users.json
+ def index
+ username = params[:username]
+ @solutions = Solution.all.where(:username => username).order("created_at DESC")
+ @guesses = Guess.all.where(:username => username).order("created_at DESC")
+ end
+
+end
diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb
new file mode 100644
index 0000000..de6be79
--- /dev/null
+++ b/app/helpers/application_helper.rb
@@ -0,0 +1,2 @@
+module ApplicationHelper
+end
diff --git a/app/helpers/guesses_helper.rb b/app/helpers/guesses_helper.rb
new file mode 100644
index 0000000..c71edd1
--- /dev/null
+++ b/app/helpers/guesses_helper.rb
@@ -0,0 +1,2 @@
+module GuessesHelper
+end
diff --git a/app/helpers/results_helper.rb b/app/helpers/results_helper.rb
new file mode 100644
index 0000000..c3fd7a5
--- /dev/null
+++ b/app/helpers/results_helper.rb
@@ -0,0 +1,2 @@
+module ResultsHelper
+end
diff --git a/app/helpers/solutions_helper.rb b/app/helpers/solutions_helper.rb
new file mode 100644
index 0000000..adb7e32
--- /dev/null
+++ b/app/helpers/solutions_helper.rb
@@ -0,0 +1,2 @@
+module SolutionsHelper
+end
diff --git a/app/helpers/users_helper.rb b/app/helpers/users_helper.rb
new file mode 100644
index 0000000..2310a24
--- /dev/null
+++ b/app/helpers/users_helper.rb
@@ -0,0 +1,2 @@
+module UsersHelper
+end
diff --git a/app/mailers/.keep b/app/mailers/.keep
new file mode 100644
index 0000000..e69de29
diff --git a/app/models/.keep b/app/models/.keep
new file mode 100644
index 0000000..e69de29
diff --git a/app/models/concerns/.keep b/app/models/concerns/.keep
new file mode 100644
index 0000000..e69de29
diff --git a/app/models/concerns/formatable.rb b/app/models/concerns/formatable.rb
new file mode 100644
index 0000000..c4156b0
--- /dev/null
+++ b/app/models/concerns/formatable.rb
@@ -0,0 +1,10 @@
+module Formatable
+ extend ActiveSupport::Concern
+
+
+ def created_at_formatted
+ created_at.in_time_zone("Europe/Sarajevo").strftime("%d.%m.%Y %H:%M")
+ end
+
+
+end
\ No newline at end of file
diff --git a/app/models/guess.rb b/app/models/guess.rb
new file mode 100644
index 0000000..ea8a255
--- /dev/null
+++ b/app/models/guess.rb
@@ -0,0 +1,3 @@
+class Guess < ActiveRecord::Base
+ include Formatable
+end
diff --git a/app/models/solution.rb b/app/models/solution.rb
new file mode 100644
index 0000000..03a4fdc
--- /dev/null
+++ b/app/models/solution.rb
@@ -0,0 +1,3 @@
+class Solution < ActiveRecord::Base
+ include Formatable
+end
diff --git a/app/models/user.rb b/app/models/user.rb
new file mode 100644
index 0000000..4a57cf0
--- /dev/null
+++ b/app/models/user.rb
@@ -0,0 +1,2 @@
+class User < ActiveRecord::Base
+end
diff --git a/app/views/guesses/index.html.erb b/app/views/guesses/index.html.erb
new file mode 100644
index 0000000..5d4aed7
--- /dev/null
+++ b/app/views/guesses/index.html.erb
@@ -0,0 +1,9 @@
+
+
+
Najnoviji uspjesi
+
+<% @guesses.each do |guess| %>
+
<%= guess.created_at_formatted %>
<%= link_to( guess.username, users_url + "?username=" + guess.username.to_s) %>: <%= guess.definition %>
+<% end %>
+
+
diff --git a/app/views/guesses/index.json.jbuilder b/app/views/guesses/index.json.jbuilder
new file mode 100644
index 0000000..c2e206f
--- /dev/null
+++ b/app/views/guesses/index.json.jbuilder
@@ -0,0 +1,4 @@
+json.array!(@guesses) do |guess|
+ json.extract! guess, :username, :definition
+ json.url guess_url(guess, format: :json)
+end
diff --git a/app/views/guesses/show.html.erb b/app/views/guesses/show.html.erb
new file mode 100644
index 0000000..ddab26b
--- /dev/null
+++ b/app/views/guesses/show.html.erb
@@ -0,0 +1 @@
+Nothing to see here - move along!
\ No newline at end of file
diff --git a/app/views/guesses/show.json.jbuilder b/app/views/guesses/show.json.jbuilder
new file mode 100644
index 0000000..248e1f1
--- /dev/null
+++ b/app/views/guesses/show.json.jbuilder
@@ -0,0 +1,3 @@
+json.extract! guess, :username, :definition
+
+
diff --git a/app/views/layouts/application.html.erb b/app/views/layouts/application.html.erb
new file mode 100644
index 0000000..a90b209
--- /dev/null
+++ b/app/views/layouts/application.html.erb
@@ -0,0 +1,28 @@
+
+
+
+
+ Rijeci
+ <%= stylesheet_link_tag "application", media: "all", "data-turbolinks-track" => true %>
+ <%= javascript_include_tag "application", "data-turbolinks-track" => true %>
+ <%= csrf_meta_tags %>
+
+
+
+
+
+
+
+
+
+
+ <%= yield %>
+
+
+
+
+
+
diff --git a/app/views/results/_form.html.erb b/app/views/results/_form.html.erb
new file mode 100644
index 0000000..4873200
--- /dev/null
+++ b/app/views/results/_form.html.erb
@@ -0,0 +1,25 @@
+<%= form_for(@result) do |f| %>
+ <% if @result.errors.any? %>
+
+
<%= pluralize(@result.errors.count, "error") %> prohibited this result from being saved:
+
+
+ <% @result.errors.full_messages.each do |msg| %>
+ - <%= msg %>
+ <% end %>
+
+
+ <% end %>
+
+
+ <%= f.label :user_id %>
+ <%= f.number_field :user_id %>
+
+
+ <%= f.label :time %>
+ <%= f.text_field :time %>
+
+
+ <%= f.submit %>
+
+<% end %>
diff --git a/app/views/results/edit.html.erb b/app/views/results/edit.html.erb
new file mode 100644
index 0000000..d313a5e
--- /dev/null
+++ b/app/views/results/edit.html.erb
@@ -0,0 +1,6 @@
+Editing result
+
+<%= render 'form' %>
+
+<%= link_to 'Show', @result %> |
+<%= link_to 'Back', results_path %>
diff --git a/app/views/results/index.html.erb b/app/views/results/index.html.erb
new file mode 100644
index 0000000..63241dc
--- /dev/null
+++ b/app/views/results/index.html.erb
@@ -0,0 +1,29 @@
+Listing results
+
+
+
+
+ | User |
+ Time |
+ |
+ |
+ |
+
+
+
+
+ <% @results.each do |result| %>
+
+ | <%= result.user_id %> |
+ <%= result.time %> |
+ <%= link_to 'Show', result %> |
+ <%= link_to 'Edit', edit_result_path(result) %> |
+ <%= link_to 'Destroy', result, method: :delete, data: { confirm: 'Are you sure?' } %> |
+
+ <% end %>
+
+
+
+
+
+<%= link_to 'New Result', new_result_path %>
diff --git a/app/views/results/index.json.jbuilder b/app/views/results/index.json.jbuilder
new file mode 100644
index 0000000..1ebabc1
--- /dev/null
+++ b/app/views/results/index.json.jbuilder
@@ -0,0 +1,4 @@
+json.array!(@results) do |result|
+ json.extract! result, :user_id, :time
+ json.url result_url(result, format: :json)
+end
diff --git a/app/views/results/new.html.erb b/app/views/results/new.html.erb
new file mode 100644
index 0000000..96c4f10
--- /dev/null
+++ b/app/views/results/new.html.erb
@@ -0,0 +1,5 @@
+New result
+
+<%= render 'form' %>
+
+<%= link_to 'Back', results_path %>
diff --git a/app/views/results/show.html.erb b/app/views/results/show.html.erb
new file mode 100644
index 0000000..137120b
--- /dev/null
+++ b/app/views/results/show.html.erb
@@ -0,0 +1,14 @@
+<%= notice %>
+
+
+ User:
+ <%= @result.user_id %>
+
+
+
+ Time:
+ <%= @result.time %>
+
+
+<%= link_to 'Edit', edit_result_path(@result) %> |
+<%= link_to 'Back', results_path %>
diff --git a/app/views/results/show.json.jbuilder b/app/views/results/show.json.jbuilder
new file mode 100644
index 0000000..e886fa5
--- /dev/null
+++ b/app/views/results/show.json.jbuilder
@@ -0,0 +1 @@
+json.extract! @result, :user_id, :time, :created_at, :updated_at
diff --git a/app/views/solutions/index.html.erb b/app/views/solutions/index.html.erb
new file mode 100644
index 0000000..1b3544b
--- /dev/null
+++ b/app/views/solutions/index.html.erb
@@ -0,0 +1,11 @@
+
+
+
Najnovije pobjede
+ <% i = 1 %>
+ <% @solutions.each do |solution| %>
+
<%=i%>. <%= solution.created_at_formatted %> <%= link_to( solution.username, users_url + "?username=" + solution.username) %>: <%= solution.number %> u vremenu <%=solution.time%>
+ <% i += 1%>
+ <% end %>
+
+
+
diff --git a/app/views/solutions/index.json.jbuilder b/app/views/solutions/index.json.jbuilder
new file mode 100644
index 0000000..b538ea7
--- /dev/null
+++ b/app/views/solutions/index.json.jbuilder
@@ -0,0 +1,4 @@
+json.array!(@solutions) do |solution|
+ json.extract! solution, :number, :time, :username
+ json.url solution_url(solution, format: :json)
+end
diff --git a/app/views/solutions/show.json.jbuilder b/app/views/solutions/show.json.jbuilder
new file mode 100644
index 0000000..bd6374f
--- /dev/null
+++ b/app/views/solutions/show.json.jbuilder
@@ -0,0 +1 @@
+json.extract! @solution, :number, :time, :username, :created_at, :updated_at
diff --git a/app/views/users/index.html.erb b/app/views/users/index.html.erb
new file mode 100644
index 0000000..8722fef
--- /dev/null
+++ b/app/views/users/index.html.erb
@@ -0,0 +1,19 @@
+
+
+
Najnovije pobjede
+ <% i = 1 %>
+ <% @solutions.each do |solution| %>
+
<%=i%>. <%= solution.created_at_formatted %> <%= solution.username %>: <%= solution.number %> u vremenu <%=solution.time%>
+ <% i += 1%>
+ <% end %>
+
+
Najnoviji uspjesi
+
+ <% @guesses.each do |guess| %>
+
<%= guess.created_at_formatted %>
<%= guess.username %>: <%= guess.definition %>
+ <% end %>
+
+
+
+
+
diff --git a/bin/bundle b/bin/bundle
new file mode 100755
index 0000000..66e9889
--- /dev/null
+++ b/bin/bundle
@@ -0,0 +1,3 @@
+#!/usr/bin/env ruby
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+load Gem.bin_path('bundler', 'bundle')
diff --git a/bin/rails b/bin/rails
new file mode 100755
index 0000000..728cd85
--- /dev/null
+++ b/bin/rails
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+APP_PATH = File.expand_path('../../config/application', __FILE__)
+require_relative '../config/boot'
+require 'rails/commands'
diff --git a/bin/rake b/bin/rake
new file mode 100755
index 0000000..1724048
--- /dev/null
+++ b/bin/rake
@@ -0,0 +1,4 @@
+#!/usr/bin/env ruby
+require_relative '../config/boot'
+require 'rake'
+Rake.application.run
diff --git a/config.ru b/config.ru
new file mode 100644
index 0000000..5bc2a61
--- /dev/null
+++ b/config.ru
@@ -0,0 +1,4 @@
+# This file is used by Rack-based servers to start the application.
+
+require ::File.expand_path('../config/environment', __FILE__)
+run Rails.application
diff --git a/config/application.rb b/config/application.rb
new file mode 100644
index 0000000..5f7a474
--- /dev/null
+++ b/config/application.rb
@@ -0,0 +1,31 @@
+require File.expand_path('../boot', __FILE__)
+
+require 'rails/all'
+
+# Require the gems listed in Gemfile, including any gems
+# you've limited to :test, :development, or :production.
+Bundler.require(:default, Rails.env)
+
+module Rijeci
+ class Application < Rails::Application
+ # Settings in config/environments/* take precedence over those specified here.
+ # Application configuration should go into files in config/initializers
+ # -- all .rb files in that directory are automatically loaded.
+
+ # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
+ # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
+ # config.time_zone = 'Central Time (US & Canada)'
+
+ # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
+ # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
+ # config.i18n.default_locale = :de
+
+ config.middleware.use Rack::Cors do
+ allow do
+ origins '*'
+ resource '*', :headers => :any, :methods => [:get, :post, :options]
+ end
+ end
+
+ end
+end
diff --git a/config/boot.rb b/config/boot.rb
new file mode 100644
index 0000000..3596736
--- /dev/null
+++ b/config/boot.rb
@@ -0,0 +1,4 @@
+# Set up gems listed in the Gemfile.
+ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+
+require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
diff --git a/config/database.yml b/config/database.yml
new file mode 100644
index 0000000..51a4dd4
--- /dev/null
+++ b/config/database.yml
@@ -0,0 +1,25 @@
+# SQLite version 3.x
+# gem install sqlite3
+#
+# Ensure the SQLite 3 gem is defined in your Gemfile
+# gem 'sqlite3'
+development:
+ adapter: sqlite3
+ database: db/development.sqlite3
+ pool: 5
+ timeout: 5000
+
+# Warning: The database defined as "test" will be erased and
+# re-generated from your development database when you run "rake".
+# Do not set this db to the same as development or production.
+test:
+ adapter: sqlite3
+ database: db/test.sqlite3
+ pool: 5
+ timeout: 5000
+
+production:
+ adapter: sqlite3
+ database: db/production.sqlite3
+ pool: 5
+ timeout: 5000
diff --git a/config/environment.rb b/config/environment.rb
new file mode 100644
index 0000000..0bb34e5
--- /dev/null
+++ b/config/environment.rb
@@ -0,0 +1,5 @@
+# Load the Rails application.
+require File.expand_path('../application', __FILE__)
+
+# Initialize the Rails application.
+Rijeci::Application.initialize!
diff --git a/config/environments/development.rb b/config/environments/development.rb
new file mode 100644
index 0000000..d3b1e20
--- /dev/null
+++ b/config/environments/development.rb
@@ -0,0 +1,29 @@
+Rijeci::Application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # In the development environment your application's code is reloaded on
+ # every request. This slows down response time but is perfect for development
+ # since you don't have to restart the web server when you make code changes.
+ config.cache_classes = false
+
+ # Do not eager load code on boot.
+ config.eager_load = false
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Don't care if the mailer can't send.
+ config.action_mailer.raise_delivery_errors = false
+
+ # Print deprecation notices to the Rails logger.
+ config.active_support.deprecation = :log
+
+ # Raise an error on page load if there are pending migrations
+ config.active_record.migration_error = :page_load
+
+ # Debug mode disables concatenation and preprocessing of assets.
+ # This option may cause significant delays in view rendering with a large
+ # number of complex assets.
+ config.assets.debug = true
+end
diff --git a/config/environments/production.rb b/config/environments/production.rb
new file mode 100644
index 0000000..4f5ebd6
--- /dev/null
+++ b/config/environments/production.rb
@@ -0,0 +1,80 @@
+Rijeci::Application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # Code is not reloaded between requests.
+ config.cache_classes = true
+
+ # Eager load code on boot. This eager loads most of Rails and
+ # your application in memory, allowing both thread web servers
+ # and those relying on copy on write to perform better.
+ # Rake tasks automatically ignore this option for performance.
+ config.eager_load = true
+
+ # Full error reports are disabled and caching is turned on.
+ config.consider_all_requests_local = false
+ config.action_controller.perform_caching = true
+
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
+ # Add `rack-cache` to your Gemfile before enabling this.
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
+ # config.action_dispatch.rack_cache = true
+
+ # Disable Rails's static asset server (Apache or nginx will already do this).
+ config.serve_static_assets = false
+
+ # Compress JavaScripts and CSS.
+ config.assets.js_compressor = :uglifier
+ # config.assets.css_compressor = :sass
+
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
+ config.assets.compile = false
+
+ # Generate digests for assets URLs.
+ config.assets.digest = true
+
+ # Version of your assets, change this if you want to expire all your assets.
+ config.assets.version = '1.0'
+
+ # Specifies the header that your server uses for sending files.
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
+
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
+ # config.force_ssl = true
+
+ # Set to :debug to see everything in the log.
+ config.log_level = :info
+
+ # Prepend all log lines with the following tags.
+ # config.log_tags = [ :subdomain, :uuid ]
+
+ # Use a different logger for distributed setups.
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
+
+ # Use a different cache store in production.
+ # config.cache_store = :mem_cache_store
+
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
+ # config.action_controller.asset_host = "http://assets.example.com"
+
+ # Precompile additional assets.
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
+ # config.assets.precompile += %w( search.js )
+
+ # Ignore bad email addresses and do not raise email delivery errors.
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
+ # config.action_mailer.raise_delivery_errors = false
+
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
+ # the I18n.default_locale when a translation can not be found).
+ config.i18n.fallbacks = true
+
+ # Send deprecation notices to registered listeners.
+ config.active_support.deprecation = :notify
+
+ # Disable automatic flushing of the log to improve performance.
+ # config.autoflush_log = false
+
+ # Use default logging formatter so that PID and timestamp are not suppressed.
+ config.log_formatter = ::Logger::Formatter.new
+end
diff --git a/config/environments/test.rb b/config/environments/test.rb
new file mode 100644
index 0000000..97b4f55
--- /dev/null
+++ b/config/environments/test.rb
@@ -0,0 +1,36 @@
+Rijeci::Application.configure do
+ # Settings specified here will take precedence over those in config/application.rb.
+
+ # The test environment is used exclusively to run your application's
+ # test suite. You never need to work with it otherwise. Remember that
+ # your test database is "scratch space" for the test suite and is wiped
+ # and recreated between test runs. Don't rely on the data there!
+ config.cache_classes = true
+
+ # Do not eager load code on boot. This avoids loading your whole application
+ # just for the purpose of running a single test. If you are using a tool that
+ # preloads Rails for running tests, you may have to set it to true.
+ config.eager_load = false
+
+ # Configure static asset server for tests with Cache-Control for performance.
+ config.serve_static_assets = true
+ config.static_cache_control = "public, max-age=3600"
+
+ # Show full error reports and disable caching.
+ config.consider_all_requests_local = true
+ config.action_controller.perform_caching = false
+
+ # Raise exceptions instead of rendering exception templates.
+ config.action_dispatch.show_exceptions = false
+
+ # Disable request forgery protection in test environment.
+ config.action_controller.allow_forgery_protection = false
+
+ # Tell Action Mailer not to deliver emails to the real world.
+ # The :test delivery method accumulates sent emails in the
+ # ActionMailer::Base.deliveries array.
+ config.action_mailer.delivery_method = :test
+
+ # Print deprecation notices to the stderr.
+ config.active_support.deprecation = :stderr
+end
diff --git a/config/initializers/backtrace_silencers.rb b/config/initializers/backtrace_silencers.rb
new file mode 100644
index 0000000..59385cd
--- /dev/null
+++ b/config/initializers/backtrace_silencers.rb
@@ -0,0 +1,7 @@
+# Be sure to restart your server when you modify this file.
+
+# You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
+# Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
+
+# You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
+# Rails.backtrace_cleaner.remove_silencers!
diff --git a/config/initializers/filter_parameter_logging.rb b/config/initializers/filter_parameter_logging.rb
new file mode 100644
index 0000000..4a994e1
--- /dev/null
+++ b/config/initializers/filter_parameter_logging.rb
@@ -0,0 +1,4 @@
+# Be sure to restart your server when you modify this file.
+
+# Configure sensitive parameters which will be filtered from the log file.
+Rails.application.config.filter_parameters += [:password]
diff --git a/config/initializers/inflections.rb b/config/initializers/inflections.rb
new file mode 100644
index 0000000..ac033bf
--- /dev/null
+++ b/config/initializers/inflections.rb
@@ -0,0 +1,16 @@
+# Be sure to restart your server when you modify this file.
+
+# Add new inflection rules using the following format. Inflections
+# are locale specific, and you may define rules for as many different
+# locales as you wish. All of these examples are active by default:
+# ActiveSupport::Inflector.inflections(:en) do |inflect|
+# inflect.plural /^(ox)$/i, '\1en'
+# inflect.singular /^(ox)en/i, '\1'
+# inflect.irregular 'person', 'people'
+# inflect.uncountable %w( fish sheep )
+# end
+
+# These inflection rules are supported but not enabled by default:
+# ActiveSupport::Inflector.inflections(:en) do |inflect|
+# inflect.acronym 'RESTful'
+# end
diff --git a/config/initializers/mime_types.rb b/config/initializers/mime_types.rb
new file mode 100644
index 0000000..72aca7e
--- /dev/null
+++ b/config/initializers/mime_types.rb
@@ -0,0 +1,5 @@
+# Be sure to restart your server when you modify this file.
+
+# Add new mime types for use in respond_to blocks:
+# Mime::Type.register "text/richtext", :rtf
+# Mime::Type.register_alias "text/html", :iphone
diff --git a/config/initializers/rails_intelligence.rb b/config/initializers/rails_intelligence.rb
new file mode 100644
index 0000000..c3a388a
--- /dev/null
+++ b/config/initializers/rails_intelligence.rb
@@ -0,0 +1,7 @@
+ Ridc.configure do |config|
+ config.customer_key = "customerKey1"
+ config.secret_key = "secret1"
+ config.host = "railsintelligence.com"
+ config.port = "8080"
+ config.application_id = "rijeciislambosna"
+ end
diff --git a/config/initializers/secret_token.rb b/config/initializers/secret_token.rb
new file mode 100644
index 0000000..51acc04
--- /dev/null
+++ b/config/initializers/secret_token.rb
@@ -0,0 +1,12 @@
+# Be sure to restart your server when you modify this file.
+
+# Your secret key is used for verifying the integrity of signed cookies.
+# If you change this key, all old signed cookies will become invalid!
+
+# Make sure the secret is at least 30 characters and all random,
+# no regular words or you'll be exposed to dictionary attacks.
+# You can use `rake secret` to generate a secure secret key.
+
+# Make sure your secret_key_base is kept private
+# if you're sharing your code publicly.
+Rijeci::Application.config.secret_key_base = '2134a47c4cf1e695a700840a4f36c8819ada1641726632715aed7790486a1f8c11bcaad264bf20f531e805ecc0f7b707ac7e23bf5e9cdecbc611f80fcee9f2c8'
diff --git a/config/initializers/session_store.rb b/config/initializers/session_store.rb
new file mode 100644
index 0000000..6706833
--- /dev/null
+++ b/config/initializers/session_store.rb
@@ -0,0 +1,3 @@
+# Be sure to restart your server when you modify this file.
+
+Rijeci::Application.config.session_store :cookie_store, key: '_rijeci_session'
diff --git a/config/initializers/wrap_parameters.rb b/config/initializers/wrap_parameters.rb
new file mode 100644
index 0000000..33725e9
--- /dev/null
+++ b/config/initializers/wrap_parameters.rb
@@ -0,0 +1,14 @@
+# Be sure to restart your server when you modify this file.
+
+# This file contains settings for ActionController::ParamsWrapper which
+# is enabled by default.
+
+# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
+ActiveSupport.on_load(:action_controller) do
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
+end
+
+# To enable root element in JSON for ActiveRecord objects.
+# ActiveSupport.on_load(:active_record) do
+# self.include_root_in_json = true
+# end
diff --git a/config/locales/en.yml b/config/locales/en.yml
new file mode 100644
index 0000000..0653957
--- /dev/null
+++ b/config/locales/en.yml
@@ -0,0 +1,23 @@
+# Files in the config/locales directory are used for internationalization
+# and are automatically loaded by Rails. If you want to use locales other
+# than English, add the necessary files in this directory.
+#
+# To use the locales, use `I18n.t`:
+#
+# I18n.t 'hello'
+#
+# In views, this is aliased to just `t`:
+#
+# <%= t('hello') %>
+#
+# To use a different locale, set it with `I18n.locale`:
+#
+# I18n.locale = :es
+#
+# This would use the information in config/locales/es.yml.
+#
+# To learn more, please read the Rails Internationalization guide
+# available at http://guides.rubyonrails.org/i18n.html.
+
+en:
+ hello: "Hello world"
diff --git a/config/routes.rb b/config/routes.rb
new file mode 100644
index 0000000..7de06f2
--- /dev/null
+++ b/config/routes.rb
@@ -0,0 +1,64 @@
+Rijeci::Application.routes.draw do
+ resources :solutions
+
+ resources :guesses
+
+ resources :results
+
+ resources :users
+
+ # The priority is based upon order of creation: first created -> highest priority.
+ # See how all your routes lay out with "rake routes".
+
+ # You can have the root of your site routed with "root"
+ # root 'welcome#index'
+
+ # Example of regular route:
+ # get 'products/:id' => 'catalog#view'
+
+ # Example of named route that can be invoked with purchase_url(id: product.id)
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
+
+ # Example resource route (maps HTTP verbs to controller actions automatically):
+ # resources :products
+
+ # Example resource route with options:
+ # resources :products do
+ # member do
+ # get 'short'
+ # post 'toggle'
+ # end
+ #
+ # collection do
+ # get 'sold'
+ # end
+ # end
+
+ # Example resource route with sub-resources:
+ # resources :products do
+ # resources :comments, :sales
+ # resource :seller
+ # end
+
+ # Example resource route with more complex sub-resources:
+ # resources :products do
+ # resources :comments
+ # resources :sales do
+ # get 'recent', on: :collection
+ # end
+ # end
+
+ # Example resource route with concerns:
+ # concern :toggleable do
+ # post 'toggle'
+ # end
+ # resources :posts, concerns: :toggleable
+ # resources :photos, concerns: :toggleable
+
+ # Example resource route within a namespace:
+ # namespace :admin do
+ # # Directs /admin/products/* to Admin::ProductsController
+ # # (app/controllers/admin/products_controller.rb)
+ # resources :products
+ # end
+end
diff --git a/db/development.sqlite3 b/db/development.sqlite3
new file mode 100644
index 0000000..7564065
Binary files /dev/null and b/db/development.sqlite3 differ
diff --git a/db/migrate/20131202062124_create_users.rb b/db/migrate/20131202062124_create_users.rb
new file mode 100644
index 0000000..33aa5de
--- /dev/null
+++ b/db/migrate/20131202062124_create_users.rb
@@ -0,0 +1,10 @@
+class CreateUsers < ActiveRecord::Migration
+ def change
+ create_table :users do |t|
+ t.string :username
+ t.integer :smf_id
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20131204034931_create_results.rb b/db/migrate/20131204034931_create_results.rb
new file mode 100644
index 0000000..680bb23
--- /dev/null
+++ b/db/migrate/20131204034931_create_results.rb
@@ -0,0 +1,10 @@
+class CreateResults < ActiveRecord::Migration
+ def change
+ create_table :results do |t|
+ t.integer :user_id
+ t.string :time
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20131204054438_create_guesses.rb b/db/migrate/20131204054438_create_guesses.rb
new file mode 100644
index 0000000..05c7a0c
--- /dev/null
+++ b/db/migrate/20131204054438_create_guesses.rb
@@ -0,0 +1,10 @@
+class CreateGuesses < ActiveRecord::Migration
+ def change
+ create_table :guesses do |t|
+ t.string :username
+ t.string :definition
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/migrate/20131206040324_create_solutions.rb b/db/migrate/20131206040324_create_solutions.rb
new file mode 100644
index 0000000..6307453
--- /dev/null
+++ b/db/migrate/20131206040324_create_solutions.rb
@@ -0,0 +1,11 @@
+class CreateSolutions < ActiveRecord::Migration
+ def change
+ create_table :solutions do |t|
+ t.integer :number
+ t.string :time
+ t.string :username
+
+ t.timestamps
+ end
+ end
+end
diff --git a/db/schema.rb b/db/schema.rb
new file mode 100644
index 0000000..8f06981
--- /dev/null
+++ b/db/schema.rb
@@ -0,0 +1,45 @@
+# encoding: UTF-8
+# This file is auto-generated from the current state of the database. Instead
+# of editing this file, please use the migrations feature of Active Record to
+# incrementally modify your database, and then regenerate this schema definition.
+#
+# Note that this schema.rb definition is the authoritative source for your
+# database schema. If you need to create the application database on another
+# system, you should be using db:schema:load, not running all the migrations
+# from scratch. The latter is a flawed and unsustainable approach (the more migrations
+# you'll amass, the slower it'll run and the greater likelihood for issues).
+#
+# It's strongly recommended that you check this file into your version control system.
+
+ActiveRecord::Schema.define(version: 20131206040324) do
+
+ create_table "guesses", force: true do |t|
+ t.string "username"
+ t.string "definition"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ create_table "results", force: true do |t|
+ t.integer "user_id"
+ t.string "time"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ create_table "solutions", force: true do |t|
+ t.integer "number"
+ t.string "time"
+ t.string "username"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+ create_table "users", force: true do |t|
+ t.string "username"
+ t.integer "smf_id"
+ t.datetime "created_at"
+ t.datetime "updated_at"
+ end
+
+end
diff --git a/db/seeds.rb b/db/seeds.rb
new file mode 100644
index 0000000..4edb1e8
--- /dev/null
+++ b/db/seeds.rb
@@ -0,0 +1,7 @@
+# This file should contain all the record creation needed to seed the database with its default values.
+# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
+#
+# Examples:
+#
+# cities = City.create([{ name: 'Chicago' }, { name: 'Copenhagen' }])
+# Mayor.create(name: 'Emanuel', city: cities.first)
diff --git a/lib/assets/.keep b/lib/assets/.keep
new file mode 100644
index 0000000..e69de29
diff --git a/lib/tasks/.keep b/lib/tasks/.keep
new file mode 100644
index 0000000..e69de29
diff --git a/log/.keep b/log/.keep
new file mode 100644
index 0000000..e69de29
diff --git a/log/development.log b/log/development.log
new file mode 100644
index 0000000..e8b3fb8
--- /dev/null
+++ b/log/development.log
@@ -0,0 +1,2945 @@
+
+
+Started POST "/guesses/" for 127.0.0.1 at 2013-12-04 07:06:26 +0100
+
+ActiveRecord::PendingMigrationError (Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=development' to resolve this issue.):
+ activerecord (4.0.1) lib/active_record/migration.rb:379:in `check_pending!'
+ activerecord (4.0.1) lib/active_record/migration.rb:366:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__2768263554392856237__call__callbacks'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.9ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.9ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (187.0ms)
+
+
+Started POST "/guesses/" for 127.0.0.1 at 2013-12-04 07:08:25 +0100
+
+ActiveRecord::PendingMigrationError (Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=development' to resolve this issue.):
+ activerecord (4.0.1) lib/active_record/migration.rb:379:in `check_pending!'
+ activerecord (4.0.1) lib/active_record/migration.rb:366:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__2768263554392856237__call__callbacks'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.3ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.4ms)
+
+
+Started POST "/guesses/" for 127.0.0.1 at 2013-12-04 07:16:26 +0100
+
+ActiveRecord::PendingMigrationError (Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=development' to resolve this issue.):
+ activerecord (4.0.1) lib/active_record/migration.rb:379:in `check_pending!'
+ activerecord (4.0.1) lib/active_record/migration.rb:366:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__3297958733677875204__call__callbacks'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.2ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (31.7ms)
+ [1m[36m (1.5ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
+ [1m[35m (1.2ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateUsers (20131202062124)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.6ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "smf_id" integer, "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.5ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131202062124"]]
+ [1m[36m (1.9ms)[0m [1mcommit transaction[0m
+Migrating to CreateResults (20131204034931)
+ [1m[35m (0.4ms)[0m begin transaction
+ [1m[36m (0.7ms)[0m [1mCREATE TABLE "results" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "user_id" integer, "time" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131204034931"]]
+ [1m[36m (1.5ms)[0m [1mcommit transaction[0m
+Migrating to CreateGuesses (20131204054438)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.6ms)[0m [1mCREATE TABLE "guesses" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "username" varchar(255), "definition" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.2ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131204054438"]]
+ [1m[36m (5.6ms)[0m [1mcommit transaction[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.3ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+
+
+Started POST "/guesses/" for 127.0.0.1 at 2013-12-04 07:17:19 +0100
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by GuessesController#create as */*
+Can't verify CSRF token authenticity
+Completed 422 Unprocessable Entity in 61ms
+
+ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
+ actionpack (4.0.1) lib/action_controller/metal/request_forgery_protection.rb:163:in `handle_unverified_request'
+ actionpack (4.0.1) lib/action_controller/metal/request_forgery_protection.rb:170:in `handle_unverified_request'
+ actionpack (4.0.1) lib/action_controller/metal/request_forgery_protection.rb:177:in `verify_authenticity_token'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:377:in `_run__415410055692677846__process_action__callbacks'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.1) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (4.0.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.0.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
+ activesupport (4.0.1) lib/active_support/notifications.rb:159:in `block in instrument'
+ activesupport (4.0.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.0.1) lib/active_support/notifications.rb:159:in `instrument'
+ actionpack (4.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.0.1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
+ activerecord (4.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.0.1) lib/abstract_controller/base.rb:136:in `process'
+ actionpack (4.0.1) lib/abstract_controller/rendering.rb:44:in `process'
+ actionpack (4.0.1) lib/action_controller/metal.rb:195:in `dispatch'
+ actionpack (4.0.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.0.1) lib/action_controller/metal.rb:231:in `block in action'
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:80:in `call'
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:48:in `call'
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:71:in `block in call'
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:59:in `each'
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:59:in `call'
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:680:in `call'
+ rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/flash.rb:241:in `call'
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/cookies.rb:486:in `call'
+ activerecord (4.0.1) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
+ activerecord (4.0.1) lib/active_record/migration.rb:369:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__3297958733677875204__call__callbacks'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (31.1ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-04 07:18:34 +0100
+Processing by GuessesController#create as JSON
+Can't verify CSRF token authenticity
+Completed 422 Unprocessable Entity in 2ms
+
+ActionController::InvalidAuthenticityToken (ActionController::InvalidAuthenticityToken):
+ actionpack (4.0.1) lib/action_controller/metal/request_forgery_protection.rb:163:in `handle_unverified_request'
+ actionpack (4.0.1) lib/action_controller/metal/request_forgery_protection.rb:170:in `handle_unverified_request'
+ actionpack (4.0.1) lib/action_controller/metal/request_forgery_protection.rb:177:in `verify_authenticity_token'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:377:in `_run__415410055692677846__process_action__callbacks'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.1) lib/abstract_controller/callbacks.rb:17:in `process_action'
+ actionpack (4.0.1) lib/action_controller/metal/rescue.rb:29:in `process_action'
+ actionpack (4.0.1) lib/action_controller/metal/instrumentation.rb:31:in `block in process_action'
+ activesupport (4.0.1) lib/active_support/notifications.rb:159:in `block in instrument'
+ activesupport (4.0.1) lib/active_support/notifications/instrumenter.rb:20:in `instrument'
+ activesupport (4.0.1) lib/active_support/notifications.rb:159:in `instrument'
+ actionpack (4.0.1) lib/action_controller/metal/instrumentation.rb:30:in `process_action'
+ actionpack (4.0.1) lib/action_controller/metal/params_wrapper.rb:245:in `process_action'
+ activerecord (4.0.1) lib/active_record/railties/controller_runtime.rb:18:in `process_action'
+ actionpack (4.0.1) lib/abstract_controller/base.rb:136:in `process'
+ actionpack (4.0.1) lib/abstract_controller/rendering.rb:44:in `process'
+ actionpack (4.0.1) lib/action_controller/metal.rb:195:in `dispatch'
+ actionpack (4.0.1) lib/action_controller/metal/rack_delegation.rb:13:in `dispatch'
+ actionpack (4.0.1) lib/action_controller/metal.rb:231:in `block in action'
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:80:in `call'
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:80:in `dispatch'
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:48:in `call'
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:71:in `block in call'
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:59:in `each'
+ actionpack (4.0.1) lib/action_dispatch/journey/router.rb:59:in `call'
+ actionpack (4.0.1) lib/action_dispatch/routing/route_set.rb:680:in `call'
+ rack-cors (0.2.9) lib/rack/cors.rb:54:in `call'
+ rack (1.5.2) lib/rack/etag.rb:23:in `call'
+ rack (1.5.2) lib/rack/conditionalget.rb:35:in `call'
+ rack (1.5.2) lib/rack/head.rb:11:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/params_parser.rb:27:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/flash.rb:241:in `call'
+ rack (1.5.2) lib/rack/session/abstract/id.rb:225:in `context'
+ rack (1.5.2) lib/rack/session/abstract/id.rb:220:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/cookies.rb:486:in `call'
+ activerecord (4.0.1) lib/active_record/query_cache.rb:36:in `call'
+ activerecord (4.0.1) lib/active_record/connection_adapters/abstract/connection_pool.rb:626:in `call'
+ activerecord (4.0.1) lib/active_record/migration.rb:369:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__3297958733677875204__call__callbacks'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.2ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (25.3ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-04 07:20:33 +0100
+Processing by GuessesController#create as JSON
+Completed 400 Bad Request in 3ms
+
+ActionController::ParameterMissing (param not found: guess):
+ app/controllers/guesses_controller.rb:73:in `guess_params'
+ app/controllers/guesses_controller.rb:28:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (32.1ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (59.6ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-04 07:22:36 +0100
+Processing by GuessesController#create as JSON
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36mSQL (171.7ms)[0m [1mINSERT INTO "guesses" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Wed, 04 Dec 2013 06:22:36 UTC +00:00], ["updated_at", Wed, 04 Dec 2013 06:22:36 UTC +00:00]]
+ [1m[35m (223.3ms)[0m commit transaction
+ Rendered guesses/show.json.jbuilder (308.8ms)
+Completed 201 Created in 740ms (Views: 314.0ms | ActiveRecord: 395.7ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-04 07:24:32 +0100
+Processing by GuessesController#create as JSON
+{"action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "guesses" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Wed, 04 Dec 2013 06:24:32 UTC +00:00], ["updated_at", Wed, 04 Dec 2013 06:24:32 UTC +00:00]]
+ [1m[36m (35.1ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (0.5ms)
+Completed 201 Created in 73ms (Views: 7.9ms | ActiveRecord: 36.9ms)
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 04:34:48 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.3ms)[0m SELECT "guesses".* FROM "guesses"
+ Rendered guesses/index.html.erb within layouts/application (4.4ms)
+Completed 200 OK in 5264ms (Views: 5262.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/guesses.css?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/results.css?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 04:34:54 +0100
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-05 05:39:47 +0100
+Processing by GuessesController#create as JSON
+{"action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (2.4ms)[0m INSERT INTO "guesses" ("created_at", "updated_at") VALUES (?, ?) [["created_at", Thu, 05 Dec 2013 04:39:47 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 04:39:47 UTC +00:00]]
+ [1m[36m (2.9ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (0.6ms)
+Completed 201 Created in 16ms (Views: 3.9ms | ActiveRecord: 5.5ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-05 05:40:47 +0100
+Processing by GuessesController#create as JSON
+{"action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.5ms)[0m [1mINSERT INTO "guesses" ("created_at", "updated_at") VALUES (?, ?)[0m [["created_at", Thu, 05 Dec 2013 04:40:47 UTC +00:00], ["updated_at", Thu, 05 Dec 2013 04:40:47 UTC +00:00]]
+ [1m[35m (4.2ms)[0m commit transaction
+ Rendered guesses/show.json.jbuilder (0.4ms)
+Completed 201 Created in 14ms (Views: 3.8ms | ActiveRecord: 4.9ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-05 05:42:15 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"Lying nearby but lower."}
+{"username"=>"gost", "definition"=>"Lying nearby but lower.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (1.3ms)[0m INSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Thu, 05 Dec 2013 04:42:15 UTC +00:00], ["definition", "Lying nearby but lower."], ["updated_at", Thu, 05 Dec 2013 04:42:15 UTC +00:00], ["username", "gost"]]
+ [1m[36m (5.1ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (0.5ms)
+Completed 201 Created in 150ms (Views: 137.3ms | ActiveRecord: 6.5ms)
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 05:42:34 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.2ms)[0m SELECT "guesses".* FROM "guesses"
+ Rendered guesses/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 54ms (Views: 32.6ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/guesses.css?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/results.css?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 05:42:35 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 06:09:48 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (0.2ms)[0m [1mSELECT "guesses".* FROM "guesses"[0m
+ Rendered guesses/index.html.erb within layouts/application (12.3ms)
+Completed 200 OK in 839ms (Views: 838.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/guesses.css?body=1" for 127.0.0.1 at 2013-12-05 06:09:49 +0100
+
+
+Started GET "/assets/results.css?body=1" for 127.0.0.1 at 2013-12-05 06:09:49 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 06:09:49 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-05 06:09:49 +0100
+
+
+Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-12-05 06:09:49 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:49 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:49 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 06:09:49 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:50 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:50 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:50 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:50 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:50 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:50 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 06:09:50 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 06:10:57 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.2ms)[0m SELECT "guesses".* FROM "guesses"
+ Rendered guesses/index.html.erb within layouts/application (3.7ms)
+Completed 200 OK in 460ms (Views: 459.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/guesses.css?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/results.css?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 06:10:58 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (0.2ms)[0m [1mSELECT "guesses".* FROM "guesses"[0m
+ Rendered guesses/index.html.erb within layouts/application (3.3ms)
+Completed 200 OK in 10ms (Views: 8.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/guesses.css?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/results.css?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:04 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:05 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 06:11:05 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:05 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:05 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:05 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 06:11:05 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.2ms)[0m SELECT "guesses".* FROM "guesses"
+ Rendered guesses/index.html.erb within layouts/application (4.8ms)
+Completed 200 OK in 239ms (Views: 237.9ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/guesses.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+
+
+Started GET "/assets/results.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+
+
+Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:52 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:53 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:53 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:53 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:53 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:53 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:53 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:53 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:53 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (0.2ms)[0m [1mSELECT "guesses".* FROM "guesses"[0m
+ Rendered guesses/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 13ms (Views: 11.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/guesses.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/results.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/users.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:55 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:56 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:56 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:56 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 06:12:56 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 06:13:07 +0100
+
+
+Started GET "/assets/oxygen400.eot" for 127.0.0.1 at 2013-12-05 06:13:25 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 06:14:58 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.4ms)[0m SELECT "guesses".* FROM "guesses"
+ Rendered guesses/index.html.erb within layouts/application (4.9ms)
+Completed 200 OK in 188ms (Views: 187.1ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 06:14:58 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:58 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:58 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/oxygen400.woff" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/assets/oxygen700.woff" for 127.0.0.1 at 2013-12-05 06:14:59 +0100
+
+
+Started GET "/guesses/1" for 127.0.0.1 at 2013-12-05 06:20:23 +0100
+Processing by GuessesController#show as HTML
+ Parameters: {"id"=>"1"}
+ [1m[36mGuess Load (0.3ms)[0m [1mSELECT "guesses".* FROM "guesses" WHERE "guesses"."id" = ? LIMIT 1[0m [["id", "1"]]
+ Rendered guesses/show.html.erb within layouts/application (1.3ms)
+Completed 200 OK in 30ms (Views: 27.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (2.1ms)[0m SELECT "guesses".* FROM "guesses"
+ Rendered guesses/index.html.erb within layouts/application (59.7ms)
+Completed 200 OK in 104ms (Views: 91.8ms | ActiveRecord: 2.4ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 07:18:43 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 07:18:44 +0100
+
+
+Started GET "/assets/oxygen400.woff" for 127.0.0.1 at 2013-12-05 07:18:44 +0100
+
+
+Started GET "/assets/oxygen700.woff" for 127.0.0.1 at 2013-12-05 07:18:44 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (0.2ms)[0m [1mSELECT "guesses".* FROM "guesses"[0m
+ Rendered guesses/index.html.erb within layouts/application (2.7ms)
+Completed 200 OK in 10ms (Views: 9.3ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 07:19:15 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.7ms)[0m SELECT "guesses".* FROM "guesses"
+ Rendered guesses/index.html.erb within layouts/application (164.6ms)
+Completed 200 OK in 173ms (Views: 169.0ms | ActiveRecord: 1.1ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 07:21:58 +0100
+
+
+Started GET "/assets/oxygen700.woff" for 127.0.0.1 at 2013-12-05 07:21:59 +0100
+
+
+Started GET "/assets/oxygen400.woff" for 127.0.0.1 at 2013-12-05 07:21:59 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (0.5ms)[0m [1mSELECT "guesses".* FROM "guesses" ORDER BY created_at DESC[0m
+ Rendered guesses/index.html.erb within layouts/application (10.1ms)
+Completed 200 OK in 18ms (Views: 14.5ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 07:23:04 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.5ms)[0m SELECT "guesses".* FROM "guesses" ORDER BY created_at DESC
+ Rendered guesses/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 12ms (Views: 10.1ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 07:25:15 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (0.2ms)[0m [1mSELECT "guesses".* FROM "guesses" ORDER BY created_at DESC[0m
+ Rendered guesses/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 9ms (Views: 8.2ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/oxygen400.woff" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/assets/oxygen700.woff" for 127.0.0.1 at 2013-12-05 07:25:18 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 07:26:42 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.3ms)[0m SELECT "guesses".* FROM "guesses" ORDER BY created_at DESC
+ Rendered guesses/index.html.erb within layouts/application (7.6ms)
+Completed 200 OK in 13ms (Views: 12.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/oxygen400.woff" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/assets/oxygen700.woff" for 127.0.0.1 at 2013-12-05 07:26:43 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-05 07:27:08 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (0.4ms)[0m [1mSELECT "guesses".* FROM "guesses" ORDER BY created_at DESC[0m
+ Rendered guesses/index.html.erb within layouts/application (80.7ms)
+Completed 200 OK in 92ms (Views: 90.2ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/oxygen700.woff" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/assets/oxygen400.woff" for 127.0.0.1 at 2013-12-05 07:27:09 +0100
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-06 06:54:17 +0100
+ [1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+
+ActiveRecord::PendingMigrationError (Migrations are pending; run 'bin/rake db:migrate RAILS_ENV=development' to resolve this issue.):
+ activerecord (4.0.1) lib/active_record/migration.rb:379:in `check_pending!'
+ activerecord (4.0.1) lib/active_record/migration.rb:366:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:29:in `block in call'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:373:in `_run__3297958733677875204__call__callbacks'
+ activesupport (4.0.1) lib/active_support/callbacks.rb:80:in `run_callbacks'
+ actionpack (4.0.1) lib/action_dispatch/middleware/callbacks.rb:27:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/reloader.rb:64:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/remote_ip.rb:76:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/debug_exceptions.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/show_exceptions.rb:30:in `call'
+ railties (4.0.1) lib/rails/rack/logger.rb:38:in `call_app'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `block in call'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `block in tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:25:in `tagged'
+ activesupport (4.0.1) lib/active_support/tagged_logging.rb:67:in `tagged'
+ railties (4.0.1) lib/rails/rack/logger.rb:20:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/request_id.rb:21:in `call'
+ rack (1.5.2) lib/rack/methodoverride.rb:21:in `call'
+ rack (1.5.2) lib/rack/runtime.rb:17:in `call'
+ activesupport (4.0.1) lib/active_support/cache/strategy/local_cache.rb:83:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ actionpack (4.0.1) lib/action_dispatch/middleware/static.rb:64:in `call'
+ rack (1.5.2) lib/rack/sendfile.rb:112:in `call'
+ railties (4.0.1) lib/rails/engine.rb:511:in `call'
+ railties (4.0.1) lib/rails/application.rb:97:in `call'
+ rack (1.5.2) lib/rack/lock.rb:17:in `call'
+ rack (1.5.2) lib/rack/content_length.rb:14:in `call'
+ rack (1.5.2) lib/rack/handler/webrick.rb:60:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
+ /Users/senaduka/.rvm/rubies/ruby-1.9.3-p194/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.2ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.2ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (49.9ms)
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Migrating to CreateSolutions (20131206040324)
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36m (0.7ms)[0m [1mCREATE TABLE "solutions" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "number" integer, "time" varchar(255), "username" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
+ [1m[35mSQL (0.4ms)[0m INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20131206040324"]]
+ [1m[36m (32.2ms)[0m [1mcommit transaction[0m
+ [1m[35mActiveRecord::SchemaMigration Load (0.2ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-06 17:30:13 +0100
+ [1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (1.8ms)
+Completed 200 OK in 3500ms (Views: 3487.1ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-06 17:30:17 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-06 17:30:26 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (1.4ms)[0m [1mSELECT "guesses".* FROM "guesses" ORDER BY created_at DESC[0m
+ Rendered guesses/index.html.erb within layouts/application (30.8ms)
+Completed 200 OK in 113ms (Views: 72.1ms | ActiveRecord: 1.8ms)
+
+
+Started GET "/assets/jquery.min.map" for 127.0.0.1 at 2013-12-06 17:30:35 +0100
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:11:24 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"Small seed of any of various annual cereal grasses especially Setaria italica."}
+{"username"=>"gost", "definition"=>"Small seed of any of various annual cereal grasses especially Setaria italica.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (19.5ms)[0m [1mINSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 07 Dec 2013 03:11:24 UTC +00:00], ["definition", "Small seed of any of various annual cereal grasses especially Setaria italica."], ["updated_at", Sat, 07 Dec 2013 03:11:24 UTC +00:00], ["username", "gost"]]
+ [1m[35m (12.3ms)[0m commit transaction
+ Rendered guesses/show.json.jbuilder (65.1ms)
+Completed 500 Internal Server Error in 143ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff8225f1500>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (49.3ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:12:05 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"To remove oxygen from a compound, or cause to react with hydrogen or form a hydride, or to undergo an increase in the number of electrons."}
+{"username"=>"gost", "definition"=>"To remove oxygen from a compound, or cause to react with hydrogen or form a hydride, or to undergo an increase in the number of electrons.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.7ms)[0m INSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Sat, 07 Dec 2013 03:12:05 UTC +00:00], ["definition", "To remove oxygen from a compound, or cause to react with hydrogen or form a hydride, or to undergo an increase in the number of electrons."], ["updated_at", Sat, 07 Dec 2013 03:12:05 UTC +00:00], ["username", "gost"]]
+ [1m[36m (97.4ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (27.1ms)
+Completed 500 Internal Server Error in 133ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff82305e038>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (11.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.9ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (49.7ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:12:29 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"A person's manner of walking."}
+{"username"=>"gost", "definition"=>"A person's manner of walking.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[35m (0.2ms)[0m begin transaction
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 07 Dec 2013 03:12:29 UTC +00:00], ["definition", "A person's manner of walking."], ["updated_at", Sat, 07 Dec 2013 03:12:29 UTC +00:00], ["username", "gost"]]
+ [1m[35m (4.7ms)[0m commit transaction
+ Rendered guesses/show.json.jbuilder (43.0ms)
+Completed 500 Internal Server Error in 130ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff8230994d0>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.0ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (150.7ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:13:18 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"Make stiff or stiffer."}
+{"username"=>"gost", "definition"=>"Make stiff or stiffer.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (3.5ms)[0m INSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Sat, 07 Dec 2013 03:13:18 UTC +00:00], ["definition", "Make stiff or stiffer."], ["updated_at", Sat, 07 Dec 2013 03:13:18 UTC +00:00], ["username", "gost"]]
+ [1m[36m (3.0ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (17.0ms)
+Completed 500 Internal Server Error in 134ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff82379a428>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (399.1ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:13:38 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"Draw a harrow over (land)."}
+{"username"=>"gost", "definition"=>"Draw a harrow over (land).", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.6ms)[0m [1mINSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 07 Dec 2013 03:13:38 UTC +00:00], ["definition", "Draw a harrow over (land)."], ["updated_at", Sat, 07 Dec 2013 03:13:38 UTC +00:00], ["username", "gost"]]
+ [1m[35m (2.6ms)[0m commit transaction
+ Rendered guesses/show.json.jbuilder (83.2ms)
+Completed 500 Internal Server Error in 95ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff8232c55d8>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (37.3ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:13:59 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"Colloquial American term for a town."}
+{"username"=>"gost", "definition"=>"Colloquial American term for a town.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.8ms)[0m INSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Sat, 07 Dec 2013 03:13:59 UTC +00:00], ["definition", "Colloquial American term for a town."], ["updated_at", Sat, 07 Dec 2013 03:13:59 UTC +00:00], ["username", "gost"]]
+ [1m[36m (5.6ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (151.5ms)
+Completed 500 Internal Server Error in 167ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff821d3c608>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.7ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.7ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (228.0ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:14:28 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"A person who is member of one's class or profession."}
+{"username"=>"gost", "definition"=>"A person who is member of one's class or profession.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.8ms)[0m [1mINSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 07 Dec 2013 03:14:28 UTC +00:00], ["definition", "A person who is member of one's class or profession."], ["updated_at", Sat, 07 Dec 2013 03:14:28 UTC +00:00], ["username", "gost"]]
+ [1m[35m (9.5ms)[0m commit transaction
+ Rendered guesses/show.json.jbuilder (26.4ms)
+Completed 500 Internal Server Error in 185ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff8231f4730>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (3.2ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (2.9ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (116.3ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:15:02 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"In an exciting manner."}
+{"username"=>"gost", "definition"=>"In an exciting manner.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.2ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (0.6ms)[0m INSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Sat, 07 Dec 2013 03:15:02 UTC +00:00], ["definition", "In an exciting manner."], ["updated_at", Sat, 07 Dec 2013 03:15:02 UTC +00:00], ["username", "gost"]]
+ [1m[36m (3.6ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (131.7ms)
+Completed 500 Internal Server Error in 147ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff821f6c3b0>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (178.9ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (368.3ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:15:13 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"Any plant of the genus Gerardia."}
+{"username"=>"gost", "definition"=>"Any plant of the genus Gerardia.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (0.9ms)[0m [1mINSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?)[0m [["created_at", Sat, 07 Dec 2013 03:15:13 UTC +00:00], ["definition", "Any plant of the genus Gerardia."], ["updated_at", Sat, 07 Dec 2013 03:15:13 UTC +00:00], ["username", "gost"]]
+ [1m[35m (2.7ms)[0m commit transaction
+ Rendered guesses/show.json.jbuilder (72.0ms)
+Completed 500 Internal Server Error in 192ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff8232c5268>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (10.7ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (142.7ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (220.3ms)
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-07 04:15:21 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>"Small croquette of mashed chick peas or fava beans seasoned with sesame seeds."}
+{"username"=>"gost", "definition"=>"Small croquette of mashed chick peas or fava beans seasoned with sesame seeds.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (1.1ms)[0m INSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Sat, 07 Dec 2013 03:15:21 UTC +00:00], ["definition", "Small croquette of mashed chick peas or fava beans seasoned with sesame seeds."], ["updated_at", Sat, 07 Dec 2013 03:15:21 UTC +00:00], ["username", "gost"]]
+ [1m[36m (5.7ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (120.5ms)
+Completed 500 Internal Server Error in 137ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#:0x007ff821d3cb80>):
+ 1: json.extract! guess, :username, :definition
+ app/views/guesses/show.json.jbuilder:1:in `_app_views_guesses_show_json_jbuilder___76062188023355066_70351852639360'
+ app/controllers/guesses_controller.rb:22:in `block (2 levels) in create'
+ app/controllers/guesses_controller.rb:20:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (12.2ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (3.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (47.3ms)
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 04:20:19 +0100
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.2ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 69ms (Views: 67.5ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-07 04:20:20 +0100
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 04:22:16 +0100
+Processing by SolutionsController#create as JSON
+ Parameters: {"username"=>"gost", "number"=>"123", "time"=>"00:01"}
+Completed 400 Bad Request in 0ms
+
+ActionController::ParameterMissing (param not found: solution):
+ app/controllers/solutions_controller.rb:41:in `solution_params'
+ app/controllers/solutions_controller.rb:21:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (21.8ms)
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+Processing by SolutionsController#index as HTML
+ [1m[36mSolution Load (0.3ms)[0m [1mSELECT "solutions".* FROM "solutions"[0m
+ Rendered solutions/index.html.erb within layouts/application (1.0ms)
+Completed 200 OK in 9ms (Views: 7.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-07 04:22:25 +0100
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 04:24:36 +0100
+ [1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by SolutionsController#create as JSON
+ Parameters: {"username"=>"gost", "number"=>"123", "time"=>"00:02"}
+Completed 400 Bad Request in 83ms
+
+ActionController::ParameterMissing (param not found: solution):
+ app/controllers/solutions_controller.rb:41:in `solution_params'
+ app/controllers/solutions_controller.rb:21:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (5.1ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (74.4ms)
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 04:26:04 +0100
+
+ActionController::RoutingError (undefined method `begore_filter' for SolutionsController:Class):
+ app/controllers/solutions_controller.rb:5:in `'
+ app/controllers/solutions_controller.rb:1:in `'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (13.1ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (3.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (37.0ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (275.8ms)
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 04:27:00 +0100
+
+ActionController::RoutingError (undefined method `begore_filter' for SolutionsController:Class):
+ app/controllers/solutions_controller.rb:5:in `'
+ app/controllers/solutions_controller.rb:1:in `'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (5.2ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (1.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (88.2ms)
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 04:28:38 +0100
+
+ActionController::RoutingError (undefined method `begore_filter' for SolutionsController:Class):
+ app/controllers/solutions_controller.rb:5:in `'
+ app/controllers/solutions_controller.rb:1:in `'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.7ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_route.html.erb (16.1ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/routes/_table.html.erb (3.0ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (90.5ms)
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 04:33:28 +0100
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.5ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (1.9ms)
+Completed 200 OK in 915ms (Views: 901.7ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:30 +0100
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+Processing by SolutionsController#index as HTML
+ [1m[36mSolution Load (0.2ms)[0m [1mSELECT "solutions".* FROM "solutions"[0m
+ Rendered solutions/index.html.erb within layouts/application (0.9ms)
+Completed 200 OK in 10ms (Views: 7.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-07 04:33:33 +0100
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 04:33:40 +0100
+Processing by SolutionsController#create as JSON
+ Parameters: {"username"=>"gost", "number"=>"123", "time"=>"00:01"}
+Completed 500 Internal Server Error in 3ms
+
+NameError (undefined local variable or method `solution_params' for #):
+ app/controllers/solutions_controller.rb:23:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (26.0ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.9ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.4ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (49.0ms)
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 05:08:17 +0100
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by SolutionsController#create as JSON
+ Parameters: {"username"=>"gost", "number"=>"123", "time"=>"00:01"}
+Completed 500 Internal Server Error in 60ms
+
+NameError (undefined local variable or method `solution' for #):
+ app/controllers/solutions_controller.rb:24:in `create'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (15.3ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (41.0ms)
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 05:08:45 +0100
+Processing by SolutionsController#create as JSON
+ Parameters: {"username"=>"gost", "number"=>"123", "time"=>"00:01"}
+ [1m[35m (0.1ms)[0m begin transaction
+ [1m[36mSQL (27.9ms)[0m [1mINSERT INTO "solutions" ("created_at", "number", "time", "updated_at", "username") VALUES (?, ?, ?, ?, ?)[0m [["created_at", Sat, 07 Dec 2013 04:08:45 UTC +00:00], ["number", 123], ["time", "00:01"], ["updated_at", Sat, 07 Dec 2013 04:08:45 UTC +00:00], ["username", "gost"]]
+ [1m[35m (11.8ms)[0m commit transaction
+ Rendered solutions/show.json.jbuilder (192.6ms)
+Completed 201 Created in 324ms (Views: 265.5ms | ActiveRecord: 40.6ms)
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 05:08:59 +0100
+Processing by SolutionsController#index as HTML
+ [1m[36mSolution Load (0.3ms)[0m [1mSELECT "solutions".* FROM "solutions"[0m
+ Rendered solutions/index.html.erb within layouts/application (4.2ms)
+Completed 500 Internal Server Error in 33ms
+
+ActionView::Template::Error (undefined method `created_at_formatted' for #):
+ 3: Najnovije pobjede
+ 4: <% i = 1 %>
+ 5: <% @solutions.each do |solution| %>
+ 6: <%=i%>. <%= solution.created_at_formatted %>
<%= solution.username %>: <%= solution.number %>
u vremenu <%=solution.time%>
+ 7: <% i += 1%>
+ 8: <% end %>
+ 9:
+ app/views/solutions/index.html.erb:6:in `block in _app_views_solutions_index_html_erb___2059631489294557210_70223129898600'
+ app/views/solutions/index.html.erb:5:in `_app_views_solutions_index_html_erb___2059631489294557210_70223129898600'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.3ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (31.2ms)
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 05:14:52 +0100
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (2.8ms)
+Completed 500 Internal Server Error in 50ms
+
+ActionView::Template::Error (undefined method `created_at_formatted' for #):
+ 3: Najnovije pobjede
+ 4: <% i = 1 %>
+ 5: <% @solutions.each do |solution| %>
+ 6: <%=i%>. <%= solution.created_at_formatted %>
<%= solution.username %>: <%= solution.number %>
u vremenu <%=solution.time%>
+ 7: <% i += 1%>
+ 8: <% end %>
+ 9:
+ app/views/solutions/index.html.erb:6:in `block in _app_views_solutions_index_html_erb___2059631489294557210_70223129898600'
+ app/views/solutions/index.html.erb:5:in `_app_views_solutions_index_html_erb___2059631489294557210_70223129898600'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (37.1ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.6ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (51.9ms)
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 05:19:08 +0100
+Processing by SolutionsController#create as JSON
+ Parameters: {"username"=>"gost", "number"=>"123", "time"=>"00:02"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (5.6ms)[0m INSERT INTO "solutions" ("created_at", "number", "time", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 07 Dec 2013 04:19:09 UTC +00:00], ["number", 123], ["time", "00:02"], ["updated_at", Sat, 07 Dec 2013 04:19:09 UTC +00:00], ["username", "gost"]]
+ [1m[36m (1.4ms)[0m [1mcommit transaction[0m
+ Rendered solutions/show.json.jbuilder (1.0ms)
+Completed 201 Created in 40ms (Views: 7.5ms | ActiveRecord: 7.9ms)
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 05:19:25 +0100
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (76.8ms)
+Completed 200 OK in 498ms (Views: 496.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-07 05:19:26 +0100
+
+
+Started POST "/solutions.json" for 127.0.0.1 at 2013-12-07 05:59:07 +0100
+Processing by SolutionsController#create as JSON
+ Parameters: {"username"=>"gost", "number"=>"123", "time"=>"00:03"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (13.1ms)[0m INSERT INTO "solutions" ("created_at", "number", "time", "updated_at", "username") VALUES (?, ?, ?, ?, ?) [["created_at", Sat, 07 Dec 2013 04:59:07 UTC +00:00], ["number", 123], ["time", "00:03"], ["updated_at", Sat, 07 Dec 2013 04:59:07 UTC +00:00], ["username", "gost"]]
+ [1m[36m (31.5ms)[0m [1mcommit transaction[0m
+ Rendered solutions/show.json.jbuilder (0.5ms)
+Completed 201 Created in 160ms (Views: 111.7ms | ActiveRecord: 44.7ms)
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (3.5ms)
+Completed 200 OK in 54ms (Views: 52.7ms | ActiveRecord: 0.2ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-07 05:59:33 +0100
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+Processing by SolutionsController#index as HTML
+ [1m[36mSolution Load (0.3ms)[0m [1mSELECT "solutions".* FROM "solutions"[0m
+ Rendered solutions/index.html.erb within layouts/application (3.8ms)
+Completed 200 OK in 11ms (Views: 10.3ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:16 +0100
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (3.6ms)
+Completed 200 OK in 12ms (Views: 10.9ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-07 06:01:33 +0100
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-08 04:37:24 +0100
+Processing by SolutionsController#index as HTML
+ [1m[36mSolution Load (0.3ms)[0m [1mSELECT "solutions".* FROM "solutions"[0m
+ Rendered solutions/index.html.erb within layouts/application (2.8ms)
+Completed 200 OK in 28ms (Views: 26.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 04:37:25 +0100
+
+
+Started GET "/users/?username=gost" for 127.0.0.1 at 2013-12-08 05:04:11 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+Completed 500 Internal Server Error in 2ms
+
+NameError (uninitialized constant UsersController::Soultion):
+ app/controllers/users_controller.rb:8:in `index'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (1.0ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (38.4ms)
+
+
+Started GET "/users/?username=gost" for 127.0.0.1 at 2013-12-08 05:07:16 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' LIMIT 1
+Completed 500 Internal Server Error in 65ms
+
+NoMethodError (undefined method `order' for #):
+ app/controllers/users_controller.rb:8:in `index'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_source.erb (0.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (2.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.3ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/diagnostics.erb within rescues/layout (36.2ms)
+
+
+Started GET "/users/?username=gost" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[36mSolution Load (0.2ms)[0m [1mSELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC[0m
+ Rendered users/index.html.erb within layouts/application (11.6ms)
+Completed 200 OK in 40ms (Views: 18.7ms | ActiveRecord: 0.8ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:08:54 +0100
+
+
+Started GET "/users/?username=gost" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC
+ Rendered users/index.html.erb within layouts/application (2.6ms)
+Completed 200 OK in 11ms (Views: 8.5ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:25 +0100
+
+
+Started GET "/users/?username=gost" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[36mSolution Load (0.3ms)[0m [1mSELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC[0m
+ Rendered users/index.html.erb within layouts/application (2.5ms)
+Completed 200 OK in 11ms (Views: 8.8ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:09:32 +0100
+
+
+Started GET "/users/?username=gost" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC
+ [1m[36mGuess Load (0.3ms)[0m [1mSELECT "guesses".* FROM "guesses" WHERE "guesses"."username" = 'gost' ORDER BY created_at DESC[0m
+ Rendered users/index.html.erb within layouts/application (23.0ms)
+Completed 200 OK in 32ms (Views: 29.7ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:10:39 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:40 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:40 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:40 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:40 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:10:40 +0100
+
+
+Started GET "/users/?username=gost" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[35mSolution Load (0.5ms)[0m SELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC
+ [1m[36mGuess Load (0.3ms)[0m [1mSELECT "guesses".* FROM "guesses" WHERE "guesses"."username" = 'gost' ORDER BY created_at DESC[0m
+ Rendered users/index.html.erb within layouts/application (9.1ms)
+Completed 200 OK in 17ms (Views: 14.2ms | ActiveRecord: 0.9ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:11:49 +0100
+
+
+Started GET "/users/?username=gost" for 127.0.0.1 at 2013-12-08 05:13:29 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[35mSolution Load (0.2ms)[0m SELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC
+ [1m[36mGuess Load (0.3ms)[0m [1mSELECT "guesses".* FROM "guesses" WHERE "guesses"."username" = 'gost' ORDER BY created_at DESC[0m
+ Rendered users/index.html.erb within layouts/application (8.6ms)
+Completed 200 OK in 588ms (Views: 586.6ms | ActiveRecord: 0.6ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:13:30 +0100
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-08 05:30:35 +0100
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (4.3ms)
+Completed 200 OK in 270ms (Views: 268.7ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:30:36 +0100
+
+
+Started GET "/users?gost" for 127.0.0.1 at 2013-12-08 05:30:43 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"gost"=>nil}
+ [1m[36mSolution Load (0.3ms)[0m [1mSELECT "solutions".* FROM "solutions" WHERE "solutions"."username" IS NULL ORDER BY created_at DESC[0m
+ [1m[35mGuess Load (0.2ms)[0m SELECT "guesses".* FROM "guesses" WHERE "guesses"."username" IS NULL ORDER BY created_at DESC
+ Rendered users/index.html.erb within layouts/application (3.9ms)
+Completed 200 OK in 36ms (Views: 34.0ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/users?gost" for 127.0.0.1 at 2013-12-08 05:31:00 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"gost"=>nil}
+ [1m[36mSolution Load (0.2ms)[0m [1mSELECT "solutions".* FROM "solutions" WHERE "solutions"."username" IS NULL ORDER BY created_at DESC[0m
+ [1m[35mGuess Load (0.2ms)[0m SELECT "guesses".* FROM "guesses" WHERE "guesses"."username" IS NULL ORDER BY created_at DESC
+ Rendered users/index.html.erb within layouts/application (2.9ms)
+Completed 200 OK in 99ms (Views: 97.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:01 +0100
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-08 05:31:09 +0100
+Processing by SolutionsController#index as HTML
+ [1m[36mSolution Load (0.3ms)[0m [1mSELECT "solutions".* FROM "solutions"[0m
+ Rendered solutions/index.html.erb within layouts/application (5.9ms)
+Completed 200 OK in 15ms (Views: 13.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/solutions" for 127.0.0.1 at 2013-12-08 05:31:09 +0100
+Processing by SolutionsController#index as HTML
+ [1m[35mSolution Load (0.3ms)[0m SELECT "solutions".* FROM "solutions"
+ Rendered solutions/index.html.erb within layouts/application (4.1ms)
+Completed 200 OK in 11ms (Views: 9.6ms | ActiveRecord: 0.3ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:31:10 +0100
+
+
+Started GET "/users?username=gost" for 127.0.0.1 at 2013-12-08 05:31:11 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[36mSolution Load (0.2ms)[0m [1mSELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC[0m
+ [1m[35mGuess Load (0.3ms)[0m SELECT "guesses".* FROM "guesses" WHERE "guesses"."username" = 'gost' ORDER BY created_at DESC
+ Rendered users/index.html.erb within layouts/application (7.5ms)
+Completed 200 OK in 15ms (Views: 13.2ms | ActiveRecord: 0.5ms)
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-08 05:44:11 +0100
+Processing by GuessesController#index as HTML
+ [1m[36mGuess Load (0.3ms)[0m [1mSELECT "guesses".* FROM "guesses" ORDER BY created_at DESC[0m
+ Rendered guesses/index.html.erb within layouts/application (9.5ms)
+Completed 500 Internal Server Error in 82ms
+
+ActionView::Template::Error (can't convert nil into String):
+ 3: Najnoviji uspjesi
+ 4:
+ 5: <% @guesses.each do |guess| %>
+ 6: <%= guess.created_at_formatted %>
<%= link_to( guess.username, users_url + "?username=" + guess.username) %>: <%= guess.definition %>
+ 7: <% end %>
+ 8:
+ 9:
+ app/views/guesses/index.html.erb:6:in `+'
+ app/views/guesses/index.html.erb:6:in `block in _app_views_guesses_index_html_erb__1788360472190622706_70223141080500'
+ app/views/guesses/index.html.erb:5:in `_app_views_guesses_index_html_erb__1788360472190622706_70223141080500'
+
+
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_trace.erb (1.8ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/_request_and_response.erb (1.5ms)
+ Rendered /Users/senaduka/.rvm/gems/ruby-1.9.3-p194/gems/actionpack-4.0.1/lib/action_dispatch/middleware/templates/rescues/template_error.erb within rescues/layout (40.2ms)
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-08 05:44:38 +0100
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (0.4ms)[0m SELECT "guesses".* FROM "guesses" ORDER BY created_at DESC
+ Rendered guesses/index.html.erb within layouts/application (12.1ms)
+Completed 200 OK in 119ms (Views: 116.5ms | ActiveRecord: 0.4ms)
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/scaffolds.css?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/solutions.css?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 05:44:39 +0100
+
+
+Started GET "/guesses" for 127.0.0.1 at 2013-12-08 06:53:02 +0100
+ [1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
+Processing by GuessesController#index as HTML
+ [1m[35mGuess Load (16.0ms)[0m SELECT "guesses".* FROM "guesses" ORDER BY created_at DESC
+ Rendered guesses/index.html.erb within layouts/application (143.3ms)
+Completed 200 OK in 877ms (Views: 764.6ms | ActiveRecord: 16.5ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:04 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 06:53:05 +0100
+
+
+Started GET "/assets/oxygen400.woff" for 127.0.0.1 at 2013-12-08 06:53:05 +0100
+
+
+Started GET "/assets/oxygen700.woff" for 127.0.0.1 at 2013-12-08 06:53:05 +0100
+
+
+Started GET "/users?username=gost" for 127.0.0.1 at 2013-12-08 06:53:17 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[36mSolution Load (16.3ms)[0m [1mSELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC[0m
+ [1m[35mGuess Load (0.3ms)[0m SELECT "guesses".* FROM "guesses" WHERE "guesses"."username" = 'gost' ORDER BY created_at DESC
+ Rendered users/index.html.erb within layouts/application (33.6ms)
+Completed 200 OK in 108ms (Views: 54.3ms | ActiveRecord: 17.0ms)
+
+
+Started GET "/users?username=gost" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[36mSolution Load (0.1ms)[0m [1mSELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC[0m
+ [1m[35mGuess Load (0.3ms)[0m SELECT "guesses".* FROM "guesses" WHERE "guesses"."username" = 'gost' ORDER BY created_at DESC
+ Rendered users/index.html.erb within layouts/application (24.8ms)
+Completed 200 OK in 70ms (Views: 63.4ms | ActiveRecord: 1.4ms)
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 07:25:46 +0100
+
+
+Started GET "/assets/oxygen700.woff" for 127.0.0.1 at 2013-12-08 07:25:47 +0100
+
+
+Started GET "/assets/oxygen400.woff" for 127.0.0.1 at 2013-12-08 07:25:47 +0100
+
+
+Started GET "/users?username=gost" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+Processing by UsersController#index as HTML
+ Parameters: {"username"=>"gost"}
+ [1m[36mSolution Load (0.2ms)[0m [1mSELECT "solutions".* FROM "solutions" WHERE "solutions"."username" = 'gost' ORDER BY created_at DESC[0m
+ [1m[35mGuess Load (0.5ms)[0m SELECT "guesses".* FROM "guesses" WHERE "guesses"."username" = 'gost' ORDER BY created_at DESC
+ Rendered users/index.html.erb within layouts/application (12.6ms)
+Completed 200 OK in 44ms (Views: 42.2ms | ActiveRecord: 0.7ms)
+
+
+Started GET "/assets/application.css?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/main.css?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/normalize.css?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/turbolinks.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/jquery.min.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/guesses.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/results.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/solutions.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/lodash.min.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/users.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started GET "/assets/application.js?body=1" for 127.0.0.1 at 2013-12-08 07:27:07 +0100
+
+
+Started POST "/guesses.json" for 127.0.0.1 at 2013-12-08 09:25:48 +0100
+Processing by GuessesController#create as JSON
+ Parameters: {"username"=>"gost", "definition"=>" saglasnost u poslušnosti, prisega."}
+{"username"=>"gost", "definition"=>" saglasnost u poslušnosti, prisega.", "action"=>"create", "controller"=>"guesses", "format"=>"json"}
+ [1m[36m (0.1ms)[0m [1mbegin transaction[0m
+ [1m[35mSQL (26.4ms)[0m INSERT INTO "guesses" ("created_at", "definition", "updated_at", "username") VALUES (?, ?, ?, ?) [["created_at", Sun, 08 Dec 2013 08:25:48 UTC +00:00], ["definition", " saglasnost u poslušnosti, prisega."], ["updated_at", Sun, 08 Dec 2013 08:25:48 UTC +00:00], ["username", "gost"]]
+ [1m[36m (11.9ms)[0m [1mcommit transaction[0m
+ Rendered guesses/show.json.jbuilder (102.3ms)
+Completed 500 Internal Server Error in 158ms
+
+ActionView::Template::Error (undefined local variable or method `guess' for #<#