Giter Site home page Giter Site logo

Comments (5)

carlosantoniodasilva avatar carlosantoniodasilva commented on June 25, 2024 1

@taq gotcha, so redirect_status is really only available on main branch right now, I'm hoping to cut a new release soon. If you wouldn't mind giving that one a try, let me know if you run into any issues.

(You can also try out my branch if you want the 422 Unprocessable Entity behavior, by configuring error_status as well -- see the description there, it's going to main soon for the release I'm planning.)

from responders.

taq avatar taq commented on June 25, 2024 1

Thanks πŸ‘πŸ»πŸ™‚

from responders.

taq avatar taq commented on June 25, 2024

Uh, sorry. Seems even with the en file code was changed. But I still getting a Completed 302 Found when using respond_with after an update. Is there any way to force/check :see_other?

from responders.

carlosantoniodasilva avatar carlosantoniodasilva commented on June 25, 2024

@taq thanks for your report.

The redirect_status config should apply even though it's inside that initializer named responders.flash_responder, I believe that's just a naming that was used by the time since the only configs responders had were related to the flash responder, this is the first one that is for the responders themselves.

I was just testing redirect_status with a new error_status branch I'm working on #240, and it appears to be working. I can change it via the config and restart Rails, which seems to pick up the change to the status I configure it to.

Which responders version are you using? The redirect_status is only on main, not a released version, so make sure you're pointing to that. (I hope to release a new version soon, once I finish my changes and ensure they're working as expected)

from responders.

taq avatar taq commented on June 25, 2024

Hey @carlosantoniodasilva , thanks for your answer.

Using respondersΒ (3.0.1)

from responders.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.