abstract class Orma::CreateChildAction

Extended Modules

Defined in:

orma/create_child_action.cr

Class Method Summary

Macro Summary

Instance Method Summary

Instance methods inherited from class Orma::ModelAction

controller controller, model model, model_action_controller model_action_controller, model_template model_template, uri_path uri_path

Constructor methods inherited from class Orma::ModelAction

new(ctx : Crumble::Server::HandlerContext, model)
new(request_ctx : Crumble::Server::RequestContext, model)
new

Class methods inherited from class Orma::ModelAction

action_name : String action_name, matched_handle(ctx, match) matched_handle, model_not_found(ctx) model_not_found, path_matcher : Regex path_matcher, uri_path(model_id) : String uri_path

Macros inherited from class Orma::ModelAction

controller(&blk) controller, view(&blk) view

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

action_form(**opts) action_form, before_action_halted? before_action_halted?, controller controller, custom_action_trigger(**opts) custom_action_trigger, handle handle, refresh_template refresh_template, uri_path : String uri_path, window_title : String | Nil window_title

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

new(ctx : Crumble::Server::HandlerContext)
new(request_ctx : Crumble::Server::RequestContext)
new

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

handle(ctx) : Bool handle, match_request(ctx) : Regex::MatchData | Nil match_request, matched_handle(ctx, path_match) matched_handle, path_matcher : Regex path_matcher, uri_path : String uri_path

Macros inherited from class Crumble::Turbo::Action

before(&blk) before, controller(&blk) controller, form(&blk) form, view(&blk) view

Class Method Detail

def self.action_name : String #

[View source]

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]