module ActiveScaffold

This module attempts to create permissions conventions for your ActiveRecord models. It supports english-based methods that let you restrict access per-model, per-record, per-column, per-action, and per-user. All at once.

You may define instance methods in the following formats:

def #{column}_authorized_for_#{action}?
def #{column}_authorized?
def authorized_for_#{action}?

Your methods should allow for the following special cases:

* cron scripts
* guest users (or nil current_user objects)

wrap the action rendering for ActiveScaffold controllers

require ‘rails/generators/rails/scaffold_controller/scaffold_controller_generator’

require ‘generators/active_scaffold_controller/active_scaffold_controller_generator’

require ‘generators/active_scaffold_controller/active_scaffold_controller_generator’