search for: pending_shipping

Displaying 1 result from an estimated 1 matches for "pending_shipping".

2005 Dec 23
5
Can''t get data from products into @order
...#39;' for #<Order:0xb77ee194> I call the partial with: <table cellpadding="5" cellspacing="0"> <%= render(:partial => "order_line", :collection => @pending_orders) %> </table> Here is how I get @pending_orders @pending_orders = Order.pending_shipping and finally my order class class Order < ActiveRecord::Base has_many :line_items # function to retrieve all orders that haven''t been marked as shipped yet. # this allows us to see what orders have been made def self.pending_shipping find(:all, :conditions => "shi...