Rails
Webpacker is the new default in Rails 6
Webpacker is the new default JavaScript compiler instead of Sprockets in Rails 6Improving Database performance and overcoming common N+1 issues in Active Record using includes, preload, eager_load, pluck, select, exists?
Improving Database performance and overcoming common N+1 issues in Active Record using includes, preload, eager_load, pluck, select, exists? and reducing number of overall queriesRails 6 adds ability to block writes to a database
Rails 6 adds the ability to block writes to a database even if the database user is able to write using connection.while_preventing_writesRails 6 adds ActiveSupport::ParameterFilter
Rails 6 has moved ParameterFilter from ActionDispatch to ActiveSupport in order to support filtered attributes with ActiveRecord::Relation#inspect.Rails 6 adds each_value method to ActionController::Parameters
Rails 6 adds each_value method to ActionController::ParametersRails 6 adds Purpose Metadata to Cookies
Rails 6 adds purpose metadata to cookies to prevent attackers from copying the value of one cookie and use it for another.Handling attachments in Action Text in Rails 6
Learn how to handle file attachments in Action Text, Rails 6's built-in rich text editor with WYSIWYG supportRails 6 - Action Mailbox tryout
Rails 6 has added Action Mailbox to process inbound emails. This post tries a deep dive trying to set it upRails 6 - Active Storage changes
Rails 6 brings in image_processing gem, support for different image types and improvements in Active Storage.Rails 6 adds guard against DNS rebinding attacks
Rails 6 adds guard against DNS rebinding attacks by allowing whitelisting of hosts in config