responders icon indicating copy to clipboard operation
responders copied to clipboard

A set of Rails responders to dry up your application

Results 7 responders issues
Sort by recently updated
recently updated
newest added

I'm implementing an Engine with web render. Main Application is `api_only` `redirect_to` method is delegated to the controller class (`delegate :head, :render, :redirect_to, to: :controller`) but seems to be private...

I've come up against an interesting problem. This page has an interesting technique for creating a modal with turbo: https://www.viget.com/articles/fancy-form-modals-with-rails-turbo/ I'm trying to specifically reproduce this logic with responders: ```ruby...

Happened upon this exception when patching this file in rails/rails#48327, the documentation references a method which was moved to this gem, and nothing else in Rails uses it internally. I...

I've come across a situation where the `CollectionResponder` improperly (for me) produces collection routes that include the full namespace of a model for the `route_key`. I've overridden this in my...

After upgrading from `3.0.1` to `3.1.0` I found some changes in logic regarding providing status to `respond_with`. I need to change status for a couple of actions for Hotwire/Turbo usage....

When `raise_on_open_redirects` is enabled in Rails config, `redirect_to` now raises `UnsafeRedirectError` in case the host of the redirect location does not match that of the current request. It's ordinarily possible...

Rails 7+ has removed `ActiveModel::Errors#to_xml` which responders was relying on to emit `:unprocessable_entity` errors in xml format. You'll see something like this if it tries to render the error collection...