Skip to content
#

rubyonrails

rails logo

Ruby on Rails (Rails) is a web application framework written in Ruby. It is meant to help simplify the building of complex websites.

Here are 365 public repositories matching this topic...

spree
ronzalo
ronzalo commented Aug 7, 2020

Context

I've create a custom action that redirect to cart page with a success flash, but page open no-product-available modal

Expected Behavior

Show modal only if applies

Actual Behavior

Cart page open a modal if there are a flash, no matter if is success or error

Possible Fix

Fix this view https://github.com/spree/spree/blob/a7f7114d3237ad214aacc9fe96d1676f1c115976/fron

jonasjabari
jonasjabari commented Jun 2, 2021

toggle show_on: "some_event", hide_after: 3000 works as expected: After having received the "show_event" a timer is triggered and after 3000ms the content of the toggle is hidden again. However toggle hide_after: 3000 is not working as expected: The content is never hidden as the timer never gets triggered. The time should get triggered on mount when specified

Guías de Rails en Español (Rails 5) Estas son las guías de Rails 5 en Español (Guías Completas, con todos los Capítulos). Estas guías están diseñadas para que tengas una productividad inmediata con Rails, y para ayudarte a entender como encajan las piezas en Rails.

  • Updated Apr 14, 2021

Created by David Heinemeier Hansson

Released December 13 2005

Organization
rails
Website
rubyonrails.org
Wikipedia
Wikipedia