def acts_as(name, scope = nil, options = {})
            if Hash === scope
              options = scope
              scope = nil
            end