Creează un cont pentru a te abona la acest blog și a-i urmări articolele pe pagina Lectură.
-
Rails 8.2 adds routing, request, and test support for HTTP QUERY, the new safe and idempotent verb with a request body.
-
A recent Rails addition lets in_order_of group several values into one sort position.
-
Rails 8.2 adds f.datalist to FormBuilder, so you can wire a text input to a native HTML autocomplete list with zero JavaScript and no derived-id bookkeeping.
-
A Rails test fixture accessor that returns an empty Array instead of a record, flaky between local and CI.
-
Show users live progress on long-running background jobs using Rails 8.1's structured event reporter and Active Job Continuations, with no polling and no per-job broadcast wiring.
-
Build per-plan API rate limits (free, pro, enterprise) using Rails 8.2's dynamic rate_limit options, with no Rack::Attack or custom middleware.
-
Use Rails 8.1's new job continuations to build a CSV import that survives worker restarts, picking up at the exact row it left off.
-
Stop manually coercing form params to JSON types.
-
An upcoming Rails change adds ActiveSupport notifications for CSRF events, giving you visibility into attack attempts and failed validations.
-
Use retry_on's new error argument in Rails to build retry strategies that respect Retry-After headers, handle transient failures, and discard_on unrecoverable errors.
-
Detect identical file uploads and reuse existing ActiveStorage blobs.
-
Skip LaunchDarkly and Flipper.
-
Build a per-tenant configuration system using Rails 8.2's CombinedConfiguration.
-
Rails 8.2's new credentials API isn't just for secrets.
-
Build server-rendered countdown timers that update in real-time using Rails 8's new relative_time_in_words helper and Turbo Streams.
-
Rails 7.2 changed how database connections are managed, causing a 5-6% performance regression for some apps.
-
Rails 8.2 adds Rails.app.revision for deployment tracking, error reporting, and cache busting.
-
Rails adds a convenient method to extract bearer tokens from the Authorization header in API requests.
-
Rails 8.2 makes enqueue_after_transaction_commit the default.
-
Fix the Rails bug where accepts_nested_attributes_for allows duplicate records past scoped uniqueness validations.
-
Creating a recently viewed pages list can significantly enhance the user experience by providing easy navigation and a history of recently accessed content.
-
A step-by-step tutorial on how we extract code from our Rails app, package it into a gem, and publish it on RubyGems.org
-
Updating the mail gem breaks Mail#address_list - here's how to fix it.
-
Step-by-step guide to integrating FilePond's JavaScript file upload library with Rails Active Storage.
-
Learn how to use the Enumerator::product method for generating Cartesian products in Ruby 3.2.
-
Install Alpine.js in your Rails app and build flash messages, dropdowns, and modals alongside Turbo.
-
Set up user authentication in Rails using the Authentication Zero gem.
-
Learn when and how to safely delete old Rails migration files.
-
A step-by-step guide to containerizing your Rails development environment for consistent setup across teams.
-
Your PostgreSQL sequence is out of sync, causing false 'duplicate key value violates unique constraint' errors.