b5d09afef5
Public Facing * through either :protected or :accessible8 flags * prevents protected attributes from being set in mass assignment Developer Facing * refactors #initialize and #update_attribute_without_saving to use same private methods to set attributes on ExtendedDocument * adds new mixin to do protection Signed-off-by: Tapajós <tapajos@gmail.com>
10 lines
526 B
Ruby
10 lines
526 B
Ruby
require File.join(File.dirname(__FILE__), 'properties')
|
|
require File.join(File.dirname(__FILE__), 'document_queries')
|
|
require File.join(File.dirname(__FILE__), 'views')
|
|
require File.join(File.dirname(__FILE__), 'design_doc')
|
|
require File.join(File.dirname(__FILE__), 'validation')
|
|
require File.join(File.dirname(__FILE__), 'extended_attachments')
|
|
require File.join(File.dirname(__FILE__), 'class_proxy')
|
|
require File.join(File.dirname(__FILE__), 'collection')
|
|
require File.join(File.dirname(__FILE__), 'attribute_protection')
|