Skip to main content

All Middleware Episodes

Fallback 22:18
Rails 5.2 ActiveSupport CurrentAttributes & Basecamp 3 Account ID URL Scheme
#234 · Pro

Rails 5.2's adds CurrentAttributes to give you access to global variables in your apps. We'll use this feature to implement a Rack middleware to build Basecamp 3 style URLs that automatically include the current Account ID in every URL

Subscribe to the newsletter

Join 18,000+ developers who get early access to new screencasts, articles, guides, updates, and more.

By clicking this button, you agree to the GoRails Terms of Service and Privacy Policy.

More of a social being? We're also on Twitter and YouTube.