Inline Updatable Input Fields
While working on rails applications, we face the requirement of, updating some attributes of an object without reloading page, quite often. For example updating a value of a record in…
While working on rails applications, we face the requirement of, updating some attributes of an object without reloading page, quite often. For example updating a value of a record in…
Updated 4 September 2026. Sprockets concatenation gave way to Propshaft digests, importmap ES modules and Thruster asset caching and compression in front of Puma (asset pipeline guide). The measurement approach…
Updated 4 September 2026. oracle-enhanced 8.1.x tracks Rails 8.1 and is tested on Oracle 12.1 or newer; NLS_LANG and TZ=UTC still belong in an initializer (oracle-enhanced). The charset behaviour below…
Updated 4 September 2026. Pluralization and fallbacks work as described; the configuration keys have changed since 2014 (i18n guide). This post and its companion on considerations will be merged. See…
Updated 4 September 2026. Configuration keys have changed since this was written: raise_on_missing_translations accepts :strict, enforce_available_locales is on, and lazy lookup with t(‘.title’) and localized views are standard (i18n guide)….
Updated 4 September 2026. Onigmo’s \p{} classes are standard, Ruby 4.0 ships Unicode 17.0, and the format validator requires \A and \z anchors, or multiline: true (validations guide). The validation…
In a Ruby on Rails application, we need to skip validation as well as callbacks while saving the object.
In Rails 3.x, commonly used method to skip callbacks is ActiveSupport’s skip_callback method, but this method could cause problems as its not thread-safe. This post talks about alternative way to achieve the purpose.