This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2016-02-07T06:34:32.507218103Z app[web.1]: Error: Opbeat error (400): { | |
2016-02-07T06:34:32.507236054Z app[web.1]: "error_message": "Unable to validate data.", | |
2016-02-07T06:34:32.507242168Z app[web.1]: "status": 400, | |
2016-02-07T06:34:32.507247581Z app[web.1]: "structured_error": { | |
2016-02-07T06:34:32.507252992Z app[web.1]: "traces": { | |
2016-02-07T06:34:32.507258102Z app[web.1]: "groups": { | |
2016-02-07T06:34:32.507262996Z app[web.1]: "0": { | |
2016-02-07T06:34:32.507268266Z app[web.1]: "transaction": "Exceeds max. allowed length of 512 characters" | |
2016-02-07T06:34:32.507273756Z app[web.1]: }, | |
2016-02-07T06:34:32.507278650Z app[web.1]: "1": { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_fork do |server, worker| | |
defined?(ActiveRecord::Base) and | |
ActiveRecord::Base.connection.disconnect! | |
old_pid = "#{server.config[:pid]}.oldbin" | |
if File.exists?(old_pid) && server.pid != old_pid | |
begin | |
Process.kill("QUIT", File.read(old_pid).to_i) | |
rescue Errno::ENOENT, Errno::ESRCH | |
# someone else did our job for us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
before_fork do |server, worker| | |
defined?(ActiveRecord::Base) and | |
ActiveRecord::Base.connection.disconnect! | |
old_pid = "#{server.config[:pid]}.oldbin" | |
if File.exists?(old_pid) && server.pid != old_pid | |
begin | |
Process.kill("QUIT", File.read(old_pid).to_i) | |
rescue Errno::ENOENT, Errno::ESRCH | |
# someone else did our job for us |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function anonymous(c,p,i) { | |
var _=this;_.b(i=i||"");_.b("<article> ");if(_.s(_.d("model.title",c,p,1),c,p,0,31,69,"{{ }}")){_.rs(c,p,function(c,p,_){_.b(" <h1>");_.b(_.v(_.d("model.title",c,p,0)));_.b("</h1> ");});c.pop();}_.b(" <p>");_.b(_.v(_.d("model.description",c,p,0)));_.b("</p> <div class=\"actors\"> ");if(_.s(_.d("model.actors",c,p,1),c,p,0,174,343,"{{ }}")){_.rs(c,p,function(c,p,_){_.b(" <div class=\"name\"> <a data-action=\"navigate\" href=\"/help/faqs/");_.b(_.v(_.f("id",c,p,0)));_.b("\">");_.b(_.v(_.f("name",c,p,0)));_.b("</a> </div> <div class=\"born\">");_.b(_.v(_.f("born",c,p,0)));_.b("</div> ");});c.pop();}_.b(" </div> <a href=\"/back\"> span.icon Back </a> </article>");return _.fl(); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
skim (0.9.0) | |
coffee-script | |
coffee-script-source (>= 1.2.0) | |
slim (~> 2.0.0) | |
sprockets | |
slim (2.0.0) | |
temple (~> 0.6.5) | |
tilt (~> 1.3, >= 1.3.3) | |
slim-rails (2.0.1) | |
actionpack (>= 3.0, < 4.1) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev libmysqlclient-dev libcurl4-openssl-dev libxslt-dev libxml2-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p327.tar.gz | |
tar -xvzf ruby-1.9.3-p327.tar.gz | |
cd ruby-1.9.3-p327/ | |
./configure --prefix=/usr/local | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Guys, i'm having a problem similar with those reported with rails 3.0.4 and sessions with ajax requests. | |
The problem is that i have an action that receives an ajax POST and sets an session. | |
def test | |
session[:user] = me | |
end | |
but the session vanishes and don't become available in the next request. | |
The routes are OK, and anything else are working fine. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[alias] | |
l = log --graph --pretty=format:'%Cred%h%Creset:%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)[%an]%Creset' --abbrev-commit --date=relative |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev libmysqlclient-dev libcurl4-openssl-dev libxslt-dev libxml2-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar -xvzf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure --prefix=/usr/local | |
make | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
apt-get -y update | |
apt-get -y install build-essential zlib1g zlib1g-dev libssl-dev libreadline-gplv2-dev libyaml-dev libmysqlclient-dev libcurl4-openssl-dev libxslt-dev libxml2-dev | |
cd /tmp | |
wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz | |
tar -xvzf ruby-1.9.3-p194.tar.gz | |
cd ruby-1.9.3-p194/ | |
./configure --prefix=/usr/local | |
make | |
make install |
NewerOlder