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
mac:~$ ssh -v lkf | |
OpenSSH_5.9p1, OpenSSL 0.9.8y 5 Feb 2013 | |
debug1: Reading configuration data /Users/trappist/.ssh/config | |
debug1: /Users/trappist/.ssh/config line 3: Applying options for lkf | |
debug1: /Users/trappist/.ssh/config line 31: Applying options for * | |
debug1: Reading configuration data /etc/ssh_config | |
debug1: /etc/ssh_config line 20: Applying options for * | |
debug1: /etc/ssh_config line 53: Applying options for * | |
debug1: Connecting to 69.164.193.64 [69.164.193.64] port 22. | |
debug1: Connection established. |
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
Verifying myself: My Bitcoin username is +trappist. https://onename.io/trappist |
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
def build_weights | |
twitter_weights.destroy_all | |
Variable.all.each do |var| | |
Scheme.all.each do |scheme| | |
hash = tweets_of_followers.send(var.name) | |
total = hash.values.sum | |
hash.each do |key,val| | |
twitter_weights.create( | |
:scheme => scheme, | |
:variable => var, |
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
will_paginate(@statuses) |
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
activerecord (3.2.8) lib/active_record/associations/join_dependency.rb:112:in `build' | |
polyamorous (0.5.0) lib/polyamorous/join_dependency.rb:52:in `build_with_polymorphism' | |
activerecord (3.2.8) lib/active_record/associations/join_dependency.rb:123:in `block in build' | |
activerecord (3.2.8) lib/active_record/associations/join_dependency.rb:122:in `each' | |
activerecord (3.2.8) lib/active_record/associations/join_dependency.rb:122:in `build' | |
polyamorous (0.5.0) lib/polyamorous/join_dependency.rb:52:in `build_with_polymorphism' | |
activerecord (3.2.8) lib/active_record/associations/join_dependency.rb:18:in `initialize' | |
activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:225:in `new' | |
activerecord (3.2.8) lib/active_record/relation/finder_methods.rb:225:in `construct_relation_for_association_calculations' | |
activerecord (3.2.8) lib/active_record/relation/calculations.rb:157:in `calculate' |
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
Spree.config do |config| | |
# Example: | |
# Uncomment to override the default site name. | |
# config.site_name = "Spree Demo Site" | |
end | |
Spree.user_class = "User" | |
require 'spree/authentication_helpers' |
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
Started PUT "/admin/products/apache-baseball-jersey" for 76.255.177.25 at 2012-11-02 21:20:42 +0000 | |
Processing by Spree::Admin::ProductsController#update as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"Rz/axJlekFfzI20D0Ai5OyfNbp974VKV7J0/Hkpyu3I=", "product"=>{"name"=>"Apache Baseball Jersey", "permalink"=>"apache-baseball-jersey", "description"=>"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nulla nonummy aliquet mi. Proin lacus. Ut placerat. Proin consequat, justo sit amet tempus consequat, elit est adipiscing odio, ut egestas pede eros in diam. Proin varius, lacus vitae suscipit varius, ipsum eros convallis nisi, sit amet sodales lectus pede non est. Duis augue. Suspendisse hendrerit pharetra metus. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Curabitur nec pede. Quisque volutpat, neque ac porttitor sodales, sem lacus rutrum nulla, ullamcorper placerat ante tortor ac odio. Suspendisse vel libero. Nullam volutpat magna vel ligula. Suspe |
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
Spree::Payment.class_eval do | |
Processing.module_eval do | |
def process! | |
if payment_method && payment_method.source_required? | |
if source | |
if !processing? | |
if Spree::Config[:auto_capture] | |
purchase! | |
else | |
if order.ready_to_process? |
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
NoMethodError in Spree::CheckoutController#update | |
undefined method `purchase!' for #<Spree::Payment:0x007fab4287a060> | |
Rails.root: /Users/trappist/projects/fantree | |
Application Trace | Framework Trace | Full Trace | |
activemodel (3.2.8) lib/active_model/attribute_methods.rb:407:in `method_missing' | |
activerecord (3.2.8) lib/active_record/attribute_methods.rb:149:in `method_missing' | |
app/models/payment_decorator.rb:11:in `process!' | |
/Users/trappist/.rvm/gems/ruby-1.9.2-p320@fantree/bundler/gems/spree-f2f98aa8dacb/core/app/models/spree/order.rb:419:in `block in process_payments!' |
OlderNewer