rails-ujs

Ruby on Rails unobtrusive scripting adapter (by rails)

Rails-ujs Alternatives

Similar projects and alternatives to rails-ujs

  1. Sorcery

    Magical Authentication (by Sorcery)

  2. Sevalla

    Deploy and host your apps and databases, now with $50 credit! Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!

    Sevalla logo
  3. wizardcms

    A Rails 7 app showcasing authentication with Sorcery, tested with RSpec

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better rails-ujs alternative or higher similarity.

rails-ujs discussion

Log in or Post with

rails-ujs reviews and mentions

Posts with mentions or reviews of rails-ujs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-29.
  • Rails UJS on Vite
    1 project | dev.to | 24 Sep 2022
    GitHub/rails-ujs
  • Authentication with Sorcery, RSpec, and Rails 7: Building a simple Rails CMS - Part 1
    3 projects | dev.to | 29 Jan 2022
    Prior to Rails 7, when you would want to log out or destroy a resource (a post or image), you would write <%= link_to "Sign out", destroy_user_session_path, method: :delete %>. The method: :delete part relied on an old library, rails-ujs and it helped make NON-Get requests from hyperlinks. Now with Turbo, the solution is to add data: { "turbo-method": :delete } so you don't get an error saying the link_to helper was looking for a GET resource. However, Turbo is not handling the redirect as we expect it, or at all, we need to explicitly say we want a 303 redirect so we add status: :see_other as an option in our destroy action.

Stats

Basic rails-ujs repo stats
2
10
10.0
about 8 years ago

rails/rails-ujs is an open source project licensed under MIT License which is an OSI approved license.


Sponsored
Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com