Skip to content

Instantly share code, notes, and snippets.

#!/bin/sh
# ------------------------------------------------------------------------------
# SOME INFOS : fairly standard (debian) init script.
# Note that node doesn't create a PID file (hence --make-pidfile)
# has to be run in the background (hence --background)
# and NOT as root (hence --chuid)
#
# MORE INFOS : INIT SCRIPT http://www.debian.org/doc/debian-policy/ch-opersys.html#s-sysvinit
# INIT-INFO RULES http://wiki.debian.org/LSBInitScripts
# INSTALL/REMOVE http://www.debian-administration.org/articles/28
Started POST "/account/operations/1/report_requests.json" for 127.0.0.1 at 2014-01-13 17:56:38 +0200
Processing by Account::ReportRequestsController#create as JSON
Parameters: {"report_request"=>{"payment_attributes"=>{"cardType"=>"Visa", "cc_first_name"=>"[FILTERED]", "cc_last_name"=>"[FILTERED]", "cc_number"=>"[FILTERED]", "cc_month"=>"[FILTERED]", "cc_year"=>"[FILTERED]", "cc_verification_value"=>"[FILTERED]", "name"=>"Aaa", "address1"=>"asaa", "address2"=>"asasd", "city"=>"daa", "state"=>"AL", "zip"=>121, "phone"=>12123123123}}, "operation_id"=>"1"}
User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
Operation Load (0.8ms) SELECT "operations".* FROM "operations" WHERE "operations"."user_id" = ? AND "operations"."id" = ? LIMIT 1 [["user_id", 1], ["id", "1"]]
(0.1ms) begin transaction
(0.1ms) rollback transaction
Completed 500 Internal Server Error in 69ms
ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError):
Started POST "/account/operations/1/report_requests.json" for 127.0.0.1 at 2014-01-13 17:56:38 +0200
Processing by Account::ReportRequestsController#create as JSON
Parameters: {"report_request"=>{"payment_attributes"=>{"cardType"=>"Visa", "cc_first_name"=>"[FILTERED]", "cc_last_name"=>"[FILTERED]", "cc_number"=>"[FILTERED]", "cc_month"=>"[FILTERED]", "cc_year"=>"[FILTERED]", "cc_verification_value"=>"[FILTERED]", "name"=>"Aaa", "address1"=>"asaa", "address2"=>"asasd", "city"=>"daa", "state"=>"AL", "zip"=>121, "phone"=>12123123123}}, "operation_id"=>"1"}
User Load (0.7ms) SELECT "users".* FROM "users" WHERE "users"."id" = 1 ORDER BY "users"."id" ASC LIMIT 1
Operation Load (0.8ms) SELECT "operations".* FROM "operations" WHERE "operations"."user_id" = ? AND "operations"."id" = ? LIMIT 1 [["user_id", 1], ["id", "1"]]
(0.1ms) begin transaction
(0.1ms) rollback transaction
Completed 500 Internal Server Error in 69ms
ActiveModel::ForbiddenAttributesError (ActiveModel::ForbiddenAttributesError):
<img class="img-rounded" alt="" src="http://maps.googleapis.com/maps/api/staticmap?size=100x100&path=color:0x00000000|weight:5|fillcolor:0xFFFF0033|[[[-93.80664824042469,42.029905684934526],[-93.80664824042469,42.09464740040021],[-93.6597061017528,42.09464740040021],[-93.6597061017528,42.029905684934526],[-93.80664824042469,42.029905684934526]]]&sensor=false">
<edit-coll coll-data="plan.manure">
<coll options="$root.data.methodOfApplications" ng-model="d.methodOfApplication">Method of Application:
</coll>
<date ng-model="d.applicationDate">Application Date:
</date>
<text ng-model="d.optimalYield">Planned Rate:
</text>
<text ng-model="d.optimalYield">Application Loss Factor:
</text>
<text ng-model="d.sprayIrrigation">Spray Irrigation:
ActionView::TemplateError (undefined method `images' for nil:NilClass) on line #8 of presents/preit_v2/mobile_views/includes/product_search/_single.html.erb:
5:
6: <div id="single-product" class="clearfix margin-above">
7: <div class="grid_12 alpha omega">
8: <% if @product.images.empty? %>
9: <img src="http://placehold.it/375x375/333333/FFFFFF/.png&text=No+Image" alt="<%= @product.title -%>" />
10: <% else %>
11: <img src="<%= @product.images.first[:link] -%>" height="375" alt="<%= @product.title -%>" />
presents/preit_v2/mobile_views/includes/product_search/_single.html.erb:8
<a class="twitter-timeline" href="https://twitter.com/CherryHillMall" data-chrome="noheader nofooter noborders transparent" data-widget-id="375279370958426113" height="200">Tweets by @CherryHillMall</a>
<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
<script type="text/javascript">
<%# twitters = @property.tenants.all(:include => :quirks).sort{rand}.map{|t| t.quirks.detect{|q| q.name = 'twitter_name'}.try(:value) }.compact[0..6] %>
var tweetUsers = <%#= twitters.to_json -%>;
</script>
@faust45
faust45 / -
Created September 11, 2013 16:59 — forked from anonymous/-
require Rails.root.to_s + '/lib/watch.rb'
watch TheFind::SearchQuery, :initialize do
before do |*args|
attrs = args[0]
SmartLog.info("SearchPoduct", attrs)
end
end
(queen [0 0 0 1 0 0 0 1
1 0 0 1 0 0 1 0
0 1 0 1 0 1 0 0
0 0 1 1 1 0 0 0
0 0 0 q 0 0 0 0
0 0 1 1 1 0 0 0
0 1 0 1 0 1 0 0
1 0 0 1 0 0 1 0])