Skip to content
Newer
Older
100644 14 lines (12 sloc) 571 Bytes
35c4864 @dchelimsky simplify paths
dchelimsky authored Apr 13, 2010
1 require 'cancan/ability'
37c1491 @ryanb renaming CanDefinition to Rule
authored Dec 21, 2010
2 require 'cancan/rule'
35c4864 @dchelimsky simplify paths
dchelimsky authored Apr 13, 2010
3 require 'cancan/controller_resource'
4 require 'cancan/controller_additions'
ec616ae @ryanb moving accessible_by out into ModelAdditions module
authored Dec 30, 2010
5 require 'cancan/model_additions'
8903fee @ryanb removing unauthorized! in favor of authorize! and including more info…
authored Apr 16, 2010
6 require 'cancan/exceptions'
4eee637 @ryanb adding support for loading through Inherited Resources - closes #23
authored Sep 9, 2010
7 require 'cancan/inherited_resource'
4c5ba09 @ryanb adding model adapter files in proper location with loading behavior
authored Dec 29, 2010
8
af9e77a @ryanb adding initial active record adapter
authored Dec 29, 2010
9 require 'cancan/model_adapters/abstract_adapter'
bbb02f7 @ryanb dynamically detect which model adapter to use given a class
authored Dec 30, 2010
10 require 'cancan/model_adapters/default_adapter'
4c5ba09 @ryanb adding model adapter files in proper location with loading behavior
authored Dec 29, 2010
11 require 'cancan/model_adapters/active_record_adapter' if defined? ActiveRecord
12 require 'cancan/model_adapters/data_mapper_adapter' if defined? DataMapper
cb9777b @ryanb ensure Mongoid::Document is defined before loading Mongoid adapter - …
authored May 17, 2011
13 require 'cancan/model_adapters/mongoid_adapter' if defined?(Mongoid) && defined?(Mongoid::Document)
Something went wrong with that request. Please try again.