Rails

Distance Calculation in Ruby Using RGeo

Distance/Geospatial calculations in Ruby using RGeo.

Rails 6 Action Text for WYSIWYG Support

Rails 6 introduces Action Text, a framework to provide support for creating, storing, displaying and editing of rich text content in your application.

Rails 6.1 adds HTTP Feature Policy

Rails 6.1 adds a DSL for configuring Feature-Policy HTTP headers, letting you control browser APIs like camera, geolocation, and payment.

Rails 6 adds db:seed:replant task

Rails 6 adds db:seed:replant task that truncates tables of each database for the current environment and then loads the seed data.

Rails 6 Adds dig to Session Object

Rails 6 has added dig method to ActionDispatch::Request::Session to easily traverse session object's nested hashes

Rails 6 Custom Serializers for ActiveJob

Rails 6 introduces ability to provide custom serialization of ActiveJob arguments.

Rails 6 Adds Hash#deep_transform_values

Rails 6 has added Hash#deep_transform_values and Hash#deep_transform_values! to allow performing deep value transformations on a nested hash

Rails 6 Adds Support for Disabling Advisory

Rails 6 adds support for database configuration to disable advisory locks

Find Timezone from Coordinates Using Ruby

Find timezone from latitude & longitude in ruby using timezone gem

Rails 6 Upgrades to rails notes Command

Rails 6 introduces several upgrades to rails notes command and adds Rails::Command::NotesCommand to be used by rake notes under the hood.