lib/restly/base.rb in restly-0.0.1.alpha.1 vs lib/restly/base.rb in restly-0.0.1.alpha.2
- old
+ new
@@ -1,16 +1,13 @@
module Restly
class Base
# Autoload
extend ActiveSupport::Autoload
- #autoload :Pagination # Todo!
autoload :Resource
autoload :Instance
- autoload :Collection
autoload :GenericMethods
autoload :Includes
- autoload :WriteCallbacks
autoload :MassAssignmentSecurity
autoload :Fields
# Thread Local Accessor
extend Restly::ThreadLocal
@@ -30,16 +27,18 @@
include ActiveModel::Serializers::Xml
# Set Up Callbacks
define_model_callbacks :create, :save, :delete, :update, :initialize
+ # Concerned Inheritance
+ include Restly::ConcernedInheritance
+
# Actions & Callbacks
extend Resource
include Includes
include Instance
include Fields
include MassAssignmentSecurity
- include WriteCallbacks
# Relationships
include Restly::Associations
# Set up the Attributes
\ No newline at end of file