authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Raises Error When Generating Model Attributes With Reserved Names.

Rails 7.1 raises error when we generate model with reserved attribute names.
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Adds --unused Option To Detect Dormant Routes.

With Rails 7.1, identify and manage unused routes declared in the application by using bin/rails routes --unused option.
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Understanding `inverse_of` In Rails Associations.

Explore the inverse_of option in Rails associations, highlighting its benefits in performance, data consistency, and optimizing bi-directional relationships.
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Adds exclude? And extract_value methods To ActionController::Parameters

Rails 7.1 adds exclude?, returning true if a key is missing from parameters. And extract_value, which splits a parameter value by delimiter into an array.
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Supports Descending Order For in_batches Without Block

With Rails 7.1, in_batches method without a block works fine for both `ASC/DESC` order values.
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Adds after_discard Method To ActiveJob For Discarded Jobs.

Rails 7.1 introduces the after_discard method, allowing us to run a callback when a job is about to be discarded.
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Allows Subscribing To ActiveRecord Transaction Events For Instrumentation.

With Rails 7.1, we can subscribe to ActiveRecord transaction events for instrumentation with the help of transaction.active_record.
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Adds Adapter Option To Disallow Foreign Keys.

With Rails 7.1, we can disable foreign key constraints for the entire application by adding foreign_keys false option to database.yml
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Raises Error On Assignment To Readonly Attributes.

Rails 7.1 now raises an ActiveRecord::ReadonlyAttributeError on assignment to readonly attributes.
authorImg Prasanth Chaduvula

I'm a React, Javascript & Rails full-stack Software Engineer. I have been working remotely for the past two years in a remote village. Before joining as a Software Engineer I founded kwiq - a hyperlocal delivery startup to deliver things in remote villages.

Rails 7.1 Supports Multiple Preview Paths For Mailers.

Rails 7.1 adds support for multiple mailer preview paths, enhancing flexibility and organization by allowing previews across various directories.