Sha256: 28d50119c93640aa644015d77af85209f1f0714f1d95059ebbc3a516c7172b45
Contents?: true
Size: 426 Bytes
Versions: 22
Compression:
Stored size: 426 Bytes
Contents
CanTango is by default setup to [[autoload models and permits]]. If you don't want to enable models autoloading but have them remain lazy-loaded as is the Rails 3 defult, you have to register the core models used by Cantango. In Cantango, registration is done through a Registry like this: ```ruby Cantango.configure do |config| config.users.register :user, :admin config.user_accounts.register :user, :admin end ```
Version data entries
22 entries across 22 versions & 1 rubygems