Skip to content

Instantly share code, notes, and snippets.

<%= form_for(@order) do |f| %>
<%= hidden_field_tag :stripe_card_token %>
<div class="field">
</div>
<div class="field">
<% if @order.stripe_card_token.present? %>
Credit card has been provided.
<% else %>
<%= label_tag :card_number, "Credit Card Number" %>
<%= text_field_tag :card_number, nil, name: nil %>
jQuery ->
Stripe.setPublishableKey($('meta[name="stripe-key"]').attr('content'))
order.setupForm()
order =
setupForm: ->
$('#new_order').submit ->
$('input[type=submit]').attr('disabled', true)
if $('#card_number').length
order.processCard()
2013-04-15T20:24:48.509294+00:00 app[web.1]: Started GET "/" for 209.145.177.162 at 2013-04-15 20:24:48 +0000
2013-04-15T20:24:48.642997+00:00 app[web.1]: Deface: 1 overrides found for 'spree/shared/_head'
2013-04-15T20:24:48.644942+00:00 app[web.1]: Deface: 'add_print_stylesheet' matched 1 times with 'code:contains("csrf_meta_tags")'
2013-04-15T20:24:48.645062+00:00 app[web.1]: Deface: [WARNING] No :original defined for 'add_print_stylesheet', you should change its definition to include:
2013-04-15T20:24:48.645062+00:00 app[web.1]: :original => 'b7ad84db3162a7f3a6b3286677d73ba1ee84f047'
2013-04-15T20:24:48.652163+00:00 app[web.1]:
2013-04-15T20:24:48.652163+00:00 app[web.1]: ActionView::Template::Error (File to import not found or unreadable: compass.
2013-04-15T20:24:48.652163+00:00 app[web.1]: Load path: /app
2013-04-15T20:24:48.652163+00:00 app[web.1]: (in /app/vendor/bundle/ruby/1.9.1/bundler/gems/spree_fancy-86d4080b0b65/app/assets/stylesheets/store/spree_fancy.scss)):
Deface: 1 overrides found for 'spree/shared/_head'
2013-04-15T22:04:00.971146+00:00 app[web.1]: Deface: 'add_print_stylesheet' matched 1 times with 'code:contains("csrf_meta_tags")'
2013-04-15T22:04:00.971146+00:00 app[web.1]: Deface: [WARNING] No :original defined for 'add_print_stylesheet', you should change its definition to include:
2013-04-15T22:04:00.971146+00:00 app[web.1]: :original => 'b7ad84db3162a7f3a6b3286677d73ba1ee84f047'
2013-04-15T22:04:00.977540+00:00 app[web.1]:
2013-04-15T22:04:00.977540+00:00 app[web.1]: ActionView::Template::Error (File to import not found or unreadable: compass.
2013-04-15T22:04:00.977540+00:00 app[web.1]: Load path: /app
he following packages have unmet dependencies:
libssl-dev : Depends: libssl1.0.0 (= 1.0.1-4ubuntu5.6) but 1.0.1-4ubuntu5.8 is installed
Ign http://apt.opscode.com precise-0.10 InRelease
Hit http://apt.opscode.com precise-0.10 Release.gpg
Ign http://us.archive.ubuntu.com precise InRelease
Ign http://us.archive.ubuntu.com precise-updates InRelease
Ign http://us.archive.ubuntu.com precise-backports InRelease
Hit http://apt.opscode.com precise-0.10 Release
Hit http://us.archive.ubuntu.com precise Release.gpg
Hit http://apt.opscode.com precise-0.10/main amd64 Packages
Hit http://us.archive.ubuntu.com precise-updates Release.gpg
Hit http://apt.opscode.com precise-0.10/main
<? $username = "bestumcx_pizza";
$password = 'test';
$hostname = "localhost"; 
echo $username;
?>
Parse error: syntax error, unexpected T_ECHO in /home/bestumcx/public_html/laszlospizza.com/index.php on line 5
err: /Stage[main]/Company::Xrole::Core/Package[Company-package]/ensure: change from 3.1.12-51286.12173 to 3.1.11-51613.12503 failed: Could not update: Failed to update to version 3.1.11-51613.12503, got version 3.1.12-51286.12173 instead at /etc/puppet/dev/modules/exegy/manifests/xrole.pp:92
def install
should = @resource.should(:ensure)
self.debug "Ensuring => #{should}"
wanted = @resource[:name]
operation = :install
case should
when true, false, Symbol
# pass
should = nil
err: /Stage[main]/Company::Xrole::Core/Package[Company-Core]/ensure: change from 3.1.10-49936.10934.1 to 3.1.9-49562.10263 failed: Could not update: Failed to update to version 3.1.9-49562.10263, got version 3.1.10-49936.10934.1 instead at /etc/puppet/dev/modules/company/manifests/xrole.pp:92