Skip to content

Add inline assigns to render_lexxy_content - #3

Merged
anquinn merged 1 commit into
mainfrom
inline-assigns
Jul 13, 2026
Merged

Add inline assigns to render_lexxy_content#3
anquinn merged 1 commit into
mainfrom
inline-assigns

Conversation

@anquinn

@anquinn anquinn commented Jul 13, 2026

Copy link
Copy Markdown
Owner

Let callers supply a variable's value at render time:

render_lexxy_content(@record.body, first_name: @user.first_name)

Keyword args and an explicit assigns: hash are both accepted and merge, with keyword args winning. Values merge over the configured assigns, inline winning, and keys with no matching chip are ignored.

Let callers supply a variable's value at render time:

    render_lexxy_content(@record.body, first_name: @user.first_name)

Keyword args and an explicit `assigns:` hash are both accepted and merge, with keyword args winning. Values merge over the configured assigns, inline winning, and keys with no matching chip are ignored.
@anquinn
anquinn merged commit 6ea5176 into main Jul 13, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant