Sha256: c165c382890cd638830409517cd783c602f2be0f1ea62ab9b20c65d4de691bc0
Contents?: true
Size: 990 Bytes
Versions: 13
Compression:
Stored size: 990 Bytes
Contents
TODO: Write this Notes: - `model` is an ApplicationModel or similar (e.g. ActiveType, but not guarantted to work at this point), `.model_name` is important - `data` can be model or models - To redirect instead of rendering, use `before_render` if the redirect is conditional (e.g. if validation passes), or `respond` if always redirecting. - As a rule of thumb, use `before_render` if there is a `content` block (even by inheritance) and `respond` otherwise. - To protect a custom controller by compony authentication, use in the controller: `before_action Compony.authentication_before_action` Feature sets: - Base feature: Components - replace routes, views and controllers - actions - params and nesting - skipping authentication - lifecycle - standalone - resourcefulness - authorization - Buttons and links - labelling - coloring - Fields and field groups - Feasibility - Premade components - button - destroy - form - with_form - new - edit
Version data entries
13 entries across 13 versions & 1 rubygems