This file contains hidden or 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
ArgumentError in Spree::UserSessionsController#new | |
interning empty string | |
Rails.root: /Users/briandquinn/pgtest | |
Application Trace | Framework Trace | Full Trace | |
/Users/briandquinn/Development/spree/core/app/models/spree/preference.rb:10:in `to_sym' | |
/Users/briandquinn/Development/spree/core/app/models/spree/preference.rb:10:in `value' | |
/Users/briandquinn/Development/spree/core/app/models/spree/preferences/store.rb:61:in `load_preferences' |
This file contains hidden or 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
module Spree | |
class Calculator::Bogo < Calculator | |
preference :number_to_buy, :integer, :default => 1 | |
preference :number_to_get, :integer, :default => 1 | |
def self.description | |
"Buy One Get One" | |
end | |
def compute(order) |
This file contains hidden or 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
#Super lazy: | |
alias v="mvim ." | |
alias rs="bundle exec rails server" | |
alias rsd="bundle exec rails server --debugger" | |
alias rsp="bundle exec rails server -e production" | |
alias rc="bundle exec rails console" | |
alias rd="bundle exec rails db" | |
alias r="bundle exec rake" | |
alias b="bundle" | |
alias be="bundle exec" |
This file contains hidden or 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
Deface::Override.new( | |
:virtual_path => "spree/layouts/spree_application", | |
:set_attributes => "#content", | |
:attributes => { | |
'data-erb-class' => "alpha columns" | |
}, | |
:name => "replace_omega_class_on_content_to_alpha" | |
) |
This file contains hidden or 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
@import "compass"; | |
@import "compass/typography"; | |
@import "compass/css3"; | |
@import url(http://fonts.googleapis.com/css?family=PT+Sans:400,700|PT+Sans+Narrow:400,700&subset=latin,cyrillic); | |
@import "forms"; | |
@import "font-picker"; | |
#spreeworks-editor { |
This file contains hidden or 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
<!-- insert_after: 'h1' --> | |
<h2>These robots are awesome.</h2> |
This file contains hidden or 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
/*--------------------------------------*/ | |
/* Colors | |
/*--------------------------------------*/ | |
$c_green: #8dba53; /* Spree green */ | |
$c_red: #e45353; /* Error red */ | |
$layout_background_color: <%= palette.preferred_layout_background_color %>; | |
$title_text_color: <%= palette.preferred_title_text_color %>; | |
$body_text_color: <%= palette.preferred_body_text_color %>; | |
$link_text_color: <%= palette.preferred_link_text_color %>; |
This file contains hidden or 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::Preference Load (0.7ms) SELECT `spree_preferences`.* FROM `spree_preferences` WHERE `spree_preferences`.`key` = 'store1/spraycan/app_configuration/heading_font_size' LIMIT 1 | |
(0.3ms) UPDATE `spree_preferences` SET `value` = 20, `value_type` = 'integer', `updated_at` = '2012-03-14 14:37:19' WHERE `spree_preferences`.`id` = 68 |
This file contains hidden or 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/general_settings" for 127.0.0.1 at 2012-03-14 14:49:23 +0000 | |
Processing by Spree::Admin::GeneralSettingsController#update as HTML | |
Parameters: {"utf8"=>"✓", "authenticity_token"=>"RPXtID2J3cOz9DV5xjZsbgTIHG2s0lAUg1Gt7EKQzWg=", "site_name"=>"Spree Demo Site", "default_seo_title"=>"", "default_meta_keywords"=>"spree, demo", "default_meta_description"=>"Spree demo site", "site_url"=>"demo.spreecommerce.com", "allow_ssl_in_production"=>"1", "allow_ssl_in_staging"=>"1", "allow_ssl_in_development_and_test"=>"0", "check_for_spree_alerts"=>"1"} | |
Spree::Preference Load (0.1ms) SELECT "spree_preferences".* FROM "spree_preferences" WHERE ("spree_preferences"."key" IS NOT NULL) AND ("spree_preferences"."value_type" IS NOT NULL) | |
Spree::User Load (0.1ms) SELECT "spree_users".* FROM "spree_users" WHERE "spree_users"."id" = 1 LIMIT 1 | |
Spree::Role Load (0.1ms) SELECT "spree_roles".* FROM "spree_roles" INNER JOIN "spree_roles_users" ON "spree_roles"."id" = "spree_roles_users"."role_id" WHERE "spre |
This file contains hidden or 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
SQL (0.2ms) UPDATE `spree_preferences` SET `value` = '9d266968-7f40-9496-630b-6a7776d3a367', `value_type` = 'string' WHERE `spree_preferences`.`key` = 'store1/spraycan/app_configuration/background_file_guid' | |
SQL (0.1ms) UPDATE `spree_preferences` SET `value` = '8c46198c-b734-0d11-1404-26bc2f01d500', `value_type` = 'string' WHERE `spree_preferences`.`key` = 'store1/spraycan/app_configuration/logo_file_guid' | |
SQL (0.3ms) UPDATE `spree_preferences` SET `value` = 14, `value_type` = 'integer' WHERE `spree_preferences`.`key` = 'store1/spraycan/app_configuration/horizontal_navigation_font_size' | |
SQL (0.3ms) UPDATE `spree_preferences` SET `value` = 'Cousine', `value_type` = 'string' WHERE `spree_preferences`.`key` = 'store1/spraycan/app_configuration/body_font' | |
SQL (0.3ms) UPDATE `spree_preferences` SET `value` = 14, `value_type` = 'integer' WHERE `spree_preferences`.`key` = 'store1/spraycan/app_configuration/main_navigation_header_font_size' | |
SQL (0.2ms) UPDATE `spree_preferences` SET `value` = '171e7 |