Skip to content

Commit

Permalink
ActionView::OutputBuffer refactored by rails/rails#45614 (Rails 7.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
varyonic committed Oct 12, 2023
1 parent f10949c commit ef2e4b1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/active_admin/views/components/active_admin_form.rb
Expand Up @@ -20,7 +20,7 @@ def render_in(context = arbo_context)
context.output_buffer << opening_tag.html_safe
children.map { |element| element.render_in(context) }
context.output_buffer << closing_tag.html_safe
pos > 0 ? context.output_buffer[pos..] : context.output_buffer
pos > 0 ? context.output_buffer.to_str[pos..] : context.output_buffer
end

def to_s
Expand Down

0 comments on commit ef2e4b1

Please sign in to comment.