Skip to content

Instantly share code, notes, and snippets.

View michaelmichael's full-sized avatar

Michael Caviness michaelmichael

  • TCW Equipment
  • Santa Rosa
View GitHub Profile
@michaelmichael
michaelmichael / cvimrc
Created December 10, 2014 17:04
cvimrc
set nohud
let mapleader = ","
map <C-f> scrollPageDown
map <C-b> scrollPageUp
let qmark y = ["http://news.ycombinator.com"]
let qmark r = ["http://www.newsblur.com/folder/everything"]
let qmark s = ["http://www.stackoverflow.com/"]
let qmark z = ["https://dashboard.zopim.com"]
let qmark b = ["http://www.advrider.com/forums/forumdisplay.php?f=85&styleid=21"]
source 'https://rubygems.org'
ruby '2.1.2'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.8'
# Use sqlite3 as the database for Active Record
# gem 'sqlite3'
gem 'pg'
Copied migration 20140803214009_add_name_to_spree_credit_cards.spree.rb from spree
Copied migration 20140803214010_update_name_fields_on_spree_credit_cards.spree.rb from spree
Copied migration 20140803214011_upgrade_adjustments.spree.rb from spree
Copied migration 20140803214012_rename_adjustment_fields.spree.rb from spree
Copied migration 20140803214013_add_shipment_total_to_spree_orders.spree.rb from spree
Copied migration 20140803214014_rename_activators_to_promotions.spree.rb from spree
Copied migration 20140803214015_add_adjustment_total_to_line_items.spree.rb from spree
Copied migration 20140803214016_add_adjustment_total_to_shipments.spree.rb from spree
Copied migration 20140803214017_add_tax_total_to_line_items_shipments_and_orders.spree.rb from spree
Copied migration 20140803214018_add_code_to_spree_promotion_rules.spree.rb from spree
[6] pry(main)> Spree::Order.last.tax_cloud_adjustment
Spree::Order Load (0.6ms) SELECT "spree_orders".* FROM "spree_orders" ORDER BY "spree_orders"."id" DESC LIMIT 1
(0.2ms) BEGIN
Spree::TaxCloudTransaction Load (0.4ms) SELECT "spree_tax_cloud_transactions".* FROM "spree_tax_cloud_transactions" WHERE "spree_tax_cloud_transactions"."order_id" = $1 LIMIT 1 [["order_id", 2]]
Spree::TaxCloudCartItem Load (0.4ms) SELECT "spree_tax_cloud_cart_items".* FROM "spree_tax_cloud_cart_items" WHERE "spree_tax_cloud_cart_items"."tax_cloud_transaction_id" = $1 [["tax_cloud_transaction_id", 2]]
SQL (1.8ms) INSERT INTO "spree_adjustments" ("adjustable_id", "adjustable_type", "amount", "created_at", "label", "mandatory", "source_id", "source_type", "state", "updated_at") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["adjustable_id", 2], ["adjustable_type", "Spree::Order"], ["amount", #<BigDecimal:7f81d3394250,'0.174913E1',18(27)>], ["created_at", Wed, 30 Apr 2014 21:57:02 UTC +00:00], ["la
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.4'
# Use postgresql as the database for Active Record
gem 'pg'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.2'
Started GET "/admin/products/apache-baseball-jersey/product_packages" for 127.0.0.1 at 2014-04-22 15:45:33 -0700
Processing by Spree::Admin::ProductPackagesController#index as HTML
Parameters: {"product_id"=>"apache-baseball-jersey"}
Spree::Preference Load (0.4ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE "spree_preferences"."key" = 'spree/backend_configuration/locale' LIMIT 1
Spree::User Load (1.2ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."id" = 1 ORDER BY "spree_users"."id" ASC LIMIT 1
(0.6ms) SELECT COUNT(*) FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spree_roles_users"."user_id" = $1 AND "spree_roles"."name" = 'admin' [["user_id", 1]]
Spree::Product Load (0.4ms) SELECT "spree_products".* FROM "spree_products" WHERE "spree_products"."deleted_at" IS NULL AND "spree_products"."slug" = 'apache-baseball-jersey' LIMIT 1
Spree::Product Load (0.5ms) SELECT "spree_products".* FROM "spree_p
source 'https://rubygems.org'
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '4.0.4'
# Use postgresql as the database for Active Record
gem 'pg'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 4.0.2'