Tutorials




Undo in assets:clobber What You Do in assets:precompile
As a best practice, when you enhance your Rails app’s assets:precompile task to build static assets that can be served faster than if they needed to be compiled at runtime, you should also enhance assets:clobber to remove the artifacts you create....




Ruby bindings to RE2, a "fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python".
Ruby bindings to RE2, a "fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python". - mudge/re2: Ruby bindings to RE2, a "fast, safe, thread-friendly alternative to backtracking r...

Rails 7.1 Introduces ActiveRecord::Base::Normalization | Saeloun Blog
Using ActiveRecord::Base::Normalization we can specify unique normalization rules for model attributes. When an attribute is assigned or changed, normalization is applied, and the normalised value is stored in the database.To enable records to be ...