abstract class Orma::CreateChildAction

Extended Modules

Defined in:

orma/create_child_action.cr

Macro Summary

Instance Method Summary

Instance methods inherited from class Orma::ModelAction

controller controller, model model, model_action_controller model_action_controller, model_id model_id, model_template : IdentifiableView model_template

Class methods inherited from class Orma::ModelAction

path_matcher : Regex path_matcher, uri_path(model_id) : String uri_path

Macros inherited from class Orma::ModelAction

controller(&blk) controller

Instance methods inherited from class Crumble::Turbo::Action

before_action_halted? before_action_halted?, controller controller, ctx : Crumble::Server::RequestContext ctx, path_match : Regex::MatchData path_match

Constructor methods inherited from class Crumble::Turbo::Action

new(ctx : Crumble::Server::RequestContext, path_match : Regex::MatchData) new

Class methods inherited from class Crumble::Turbo::Action

handle(ctx) : Bool handle, path_matcher : Regex path_matcher, uri_path : String uri_path

Macros inherited from class Crumble::Turbo::Action

before(&blk) before, controller(&blk) controller

Macro Detail

macro context_attributes(**attrs) #

[View source]
macro form(&blk) #

[View source]
macro params(*attrs) #

[View source]

Instance Method Detail

def add_context_attributes(instance, ctx) #

[View source]
def assign_param(instance, param_name, param_value) #

[View source]
abstract def assign_parent_id(child) #

[View source]
def child_instance(req_body : String) #

[View source]
def model_action_controller #

[View source]