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
➜ site git:(spree_fetcher) cap deploy | |
triggering load callbacks | |
* 2013-08-14 23:57:39 executing `development' | |
triggering start callbacks for `deploy' | |
* 2013-08-14 23:57:39 executing `multistage:ensure' | |
* 2013-08-14 23:57:39 executing `deploy' | |
* 2013-08-14 23:57:39 executing `deploy:update' | |
** transaction: start | |
* 2013-08-14 23:57:39 executing `deploy:update_code' | |
updating the cached checkout on all servers |
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
/Users/John/.rvm/gems/ruby-1.9.2-p290@rails311/bundler/gems/ajaxful-rating-98452cea5145/lib/axr/model.rb:131:in `rate_by' | |
/Users/John/.rvm/gems/ruby-1.9.2-p290@rails311/bundler/gems/ajaxful-rating-98452cea5145/lib/axr/model.rb:136:in `rated_by?' | |
/Users/John/.rvm/gems/ruby-1.9.2-p290@rails311/bundler/gems/ajaxful-rating-98452cea5145/lib/axr/model.rb:84:in `rate' | |
app/controllers/stores_controller.rb:17:in `rate' | |
actionpack (3.1.1) lib/action_controller/metal/implicit_render.rb:4:in `send_action' | |
actionpack (3.1.1) lib/abstract_controller/base.rb:167:in `process_action' | |
actionpack (3.1.1) lib/action_controller/metal/rendering.rb:10:in `process_action' | |
actionpack (3.1.1) lib/abstract_controller/callbacks.rb:18:in `block in process_action' | |
activesupport (3.1.1) lib/active_support/callbacks.rb:425:in `_run__1042218581__process_action__551928510__callbacks' | |
activesupport (3.1.1) lib/active_support/callbacks.rb:386:in `_run_process_action_callbacks' |
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
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was after_symlink) | |
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was after_update_code) | |
[Deprecation Warning] Naming tasks with before_ and after_ is deprecated, please see the new before() and after() methods. (Offending task name was after_setup) | |
* executing `production' | |
triggering start callbacks for `deploy:migrations' | |
* executing `multistage:ensure' | |
* executing `deploy:migrations' | |
* executing `deploy:update_code' | |
updating the cached checkout on all servers | |
executing locally: "git ls-remote [email protected]:MettaAudio/msc-store.git production" |
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
<div style="float:left; width:45%; margin-right:25px"> | |
<h1><%= object.line_item.order.user.email %></h1> | |
<h2><%= object.line_item.product.name %></h2> | |
<h2><%= object.line_item.order.id %></h2> | |
<% object.associated_requests.each do |request| %> | |
<p>Request on <%= request.created_at.to_date %> and approved on <%= request.approval_date.to_date %></p> | |
<table class="index"> | |
<tr> | |
<th>Contest Name</th> | |
<th>Host name</th> |
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
Order.class_eval do | |
def has_site_approvals? | |
line_items.each do |item| | |
return true if !item.approval.nil? # & !item.approval.approval_date.nil? | |
end | |
end | |
false | |
end |