-
console1984 — Privacy-aware Rails console that records sessions and protects encrypted data. Blog: Privacy-aware Rails consoles
-
audits1984 — Auditing interface for console1984 sessions. Blog: [Privacy-aware Rails
(This applies to Rails 7.1, Turbo 8.0 with esbuild and propshaft)
If you're getting a "TypeError: map.get is not a function" when navigating between pages:
Uncaught (in promise) TypeError: map.get is not a function
at fetch (application-df30cd29ded7227ed5c827c81fa4fc9b51db518a.js:6485:20)
at fetchWithTurboHeaders (application-df30cd29ded7227ed5c827c81fa4fc9b51db518a.js:1153:10)
at FetchRequest.perform (application-df30cd29ded7227ed5c827c81fa4fc9b51db518a.js:1263:25)
fetch @ application-df30cd29ded7227ed5c827c81fa4fc9b51db518a.js:6485
| # https://twitter.com/josh_cheek/status/1587406334839889921 | |
| $**?$ # => "" | |
| $**%$*$ # => "" | |
| $**%** # => "" | |
| $**%$$ # => "" | |
| $_ = {} | |
| alias $*$_ | |
| public def *(*) = itself | |
| alias ** * |
| require 'objspace' | |
| def self.show_allocations(&block) | |
| _ = ObjectSpace.trace_object_allocations &block | |
| ObjectSpace | |
| .each_object | |
| .to_a | |
| .filter_map do |obj| | |
| file = ObjectSpace.allocation_sourcefile obj | |
| line = ObjectSpace.allocation_sourceline obj |
I've recently joined Amazon Dublin from India and got opportunities to interview with Meta London, Zalando Berlin & some other companies. I extensively researched about companies hiring internationally which support visa & relocation for Tech roles. So sharing list of companies:
Do consider to STAR, if it helped you.
London
| package main | |
| import ( | |
| "bytes" | |
| "io/ioutil" | |
| "log" | |
| "os" | |
| "os/exec" | |
| ) |
This example will show how to push updates to the view for a Model instance that has changed without the user having to refresh the page.
This example focuses more on getting ActionCable working with Stimulus. If you don't already have stimulus setup in your app, here's a great write up on how to set it up: https://medium.com/better-programming/how-to-add-stimulus-js-to-a-rails-6-application-4201837785f9
- You have a
Scanmodel with attributes. - You have a
ScanController#showaction. - A user is viewing a
Scanthrough theshow.html.slim|haml|erbview template.
Run rails new --help to see all of the options you can use to create a new Rails application:
Output for Rails 8+
Usage:
rails COMMAND [options]
You must specify a command:
Source Code: https://github.com/NullVoxPopuli/rails-NPlusOneTests
deserialization_benchmark.rb
Each of these scenarios just changes the payload to be parsed, and does not change any deserialization options.