Removed acts_as_ordered. Fixed bug in group_orders archive.
This commit is contained in:
parent
eb532babd6
commit
92649d3053
23 changed files with 3 additions and 822 deletions
|
|
@ -2,7 +2,6 @@
|
|||
#
|
||||
class Order < ActiveRecord::Base
|
||||
extend ActiveSupport::Memoizable # Ability to cache method results. Use memoize :expensive_method
|
||||
acts_as_ordered :order => "ends" # easyier find of next or previous model
|
||||
|
||||
# Associations
|
||||
has_many :order_articles, :dependent => :destroy
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue