ruby
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| ruby [2026/03/15 19:37] – Using Turbo Frames reddy | ruby [2026/03/15 19:56] (current) – reddy | ||
|---|---|---|---|
| Line 94: | Line 94: | ||
| </ | </ | ||
| + | ==== Turbo Streams ==== | ||
| + | < | ||
| + | # In the view | ||
| + | <%= turbo_stream_from " | ||
| + | <div id=" | ||
| + | |||
| + | # In a controller | ||
| + | Turbo:: | ||
| + | ' | ||
| + | target: ' | ||
| + | content: DateTime.now | ||
| + | ) | ||
| + | </ | ||
ruby.1773599836.txt.gz · Last modified: by reddy
