Got everything installed and running - able to log into the admin and
add a product -- but when editing a product and I click View on the
site I'm getting the following exception
ActiveRecord::StatementInvalid in Store#index
Showing vendor/plugins/substruct/app/views/store/_product.rhtml where
line #25 raised:
Mysql::Error: Unknown column 'variation_rank' in 'order clause':
SELECT * FROM `items` WHERE (`items`.product_id = 1) AND
( (`items`.`type` = 'Variation' ) ) ORDER BY price ASC, -
variation_rank DESC
Extracted source (around line #25):
22: <div class="product_title">
23: <%=
link_to(
product.name, :controller=>'store', :action=>'show', :id =>
product.code) %>
24: </div>
25: <% if product.display_price? %>
26: <span class="money"><%=
sub_number_to_currency(product.display_price) %></span>
27: <% end %>
28: </div>