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
/usr/local/lib/ruby/site_ruby/1.8/rubygems/dependency.rb:52:in `initialize': Valid types are [:development, :runtime], not nil (ArgumentError) | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:352:in `new' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:352:in `search' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:346:in `gems_size' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:179:in `resolve' | |
from /usr/local/lib/ruby/site_ruby/1.8/rubygems/source_index.rb:95:in `sort_by' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:175:in `each' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:175:in `sort_by' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:175:in `resolve' | |
from /Library/Ruby/Gems/1.8/gems/bundler-1.0.21/lib/bundler/resolver.rb:160:in `start' |
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
<% if products.any? %> | |
<ul id="products" title="<%= t(:search_results, :keywords => h(params[:keywords])) %>" selected="true" class="product-listing" data-hook> | |
<% products.each do |product| %> | |
<% if Spree::Config[:show_zero_stock_products] || product.has_stock? %> | |
<li id="product_<%= product.id %>" data-hook="products_list_item"> | |
<%= link_to product.name, product, :class => 'info' %> | |
<span class="price selling"><%= product_price(product) %></span> | |
</li> | |
<% end %> | |
<% end %> |
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
HomeController.class_eval do | |
def index | |
@searcher = Spree::Config.searcher_class.new(params) | |
@products = @searcher.retrieve_products | |
respond_with(@products) | |
respond_with do |format| | |
format.html { render :action => params[:path] } | |
format.iphone { render :layout => false } | |
end |
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_core (0.70.3) app/views/shared/_products.html.erb:5:in `___ibrary__uby__ems_____gems_spree_core________app_views_shared__products_html_erb___911215525_2255387160' | |
actionpack (3.1.1) lib/action_view/template.rb:144:in `send' | |
actionpack (3.1.1) lib/action_view/template.rb:144:in `render' | |
activesupport (3.1.1) lib/active_support/notifications.rb:55:in `instrument' | |
actionpack (3.1.1) lib/action_view/template.rb:142:in `render' | |
actionpack (3.1.1) lib/action_view/renderer/partial_renderer.rb:256:in `render_partial' | |
actionpack (3.1.1) lib/action_view/renderer/partial_renderer.rb:228:in `render' | |
actionpack (3.1.1) lib/action_view/renderer/abstract_renderer.rb:33:in `instrument' | |
activesupport (3.1.1) lib/active_support/notifications.rb:53:in `instrument' | |
activesupport (3.1.1) lib/active_support/notifications/instrumenter.rb:21:in `instrument' |
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::BaseController.class_eval do | |
before_filter :adjust_format_for_iphone | |
# before_filter :iphone_login_required | |
respond_to do |format| | |
format.iphone { render :layout => false } | |
end | |
private |
NewerOlder