Fixed encoding issues with ruby > 1.9.2..

This commit is contained in:
benni 2012-04-16 08:48:01 +02:00
parent ad508b207b
commit 4a8e286d98
18 changed files with 29 additions and 40 deletions

View file

@ -1,3 +1,5 @@
# encoding: utf-8
#
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