Class: AgentCodeModel

Inherits:
AgentCode::AgentCodeModel show all
Defined in:
lib/agentcode/templates/agentcode_model.rb

Overview

Application-level AgentCodeModel base class.

This file was published from the agentcode gem. You can customise it to add concerns or configuration that apply to ALL your AgentCode models.

Published with: rails agentcode:install --publish-model

To use: class Post < AgentCodeModel # ... end

The parent class already includes:

  • AgentCode::HasAgentCode, AgentCode::HasValidation, AgentCode::HidableColumns, AgentCode::HasAutoScope

Add your own concerns or override defaults below.

Constant Summary

Constants included from AgentCode::HidableColumns

AgentCode::HidableColumns::BASE_HIDDEN_COLUMNS

Method Summary

Methods included from AgentCode::HidableColumns

#agentcode_computed_attributes, #as_agentcode_json, #hidden_columns_for

Methods included from AgentCode::HasValidation

#validate_for_action