When does a Rails application load and read my code?

    12-12-2020

    #rails

    Add view helpers to a Rails application, globally and locally

    03-01-2021

    #rails

    Check if an HTTP status falls within a range using Ruby

    05-06-2021

    #rails#http

    Creating a table with non id primary key in Rails

    12-26-2022

    #rails

    Delete a cache key from Sidekiq using Rails

    04-05-2021

    #rails#caching#sidekiq

    When early code optimization is okay, an example

    05-02-2021

    #rails#oauth

    Everything you may have wanted to know about Dates and Times in Ruby and Rails

    09-02-2021

    #ruby#rails

    An example of when to expire a cache key

    04-10-2021

    #rails#caching

    Rails controllers and nested resources

    11-05-2021

    #rails

    Rails db encryption cheatsheet

    04-29-2021

    #rails#encryption

    Rails error handling cheatsheet

    04-20-2021

    #rails

    Rails nested resources MVC complete example

    11-01-2021

    #rails

    Rails params cheatsheet

    04-19-2021

    #rails

    Difference between rake tmp:clear and Rails.cache.clear

    08-29-2021

    #rails#caching

    Redirect to nested resource url in Rails

    11-04-2021

    #rails

    Rendering forms for parent and child ActiveRecord objects in Rails

    11-03-2021

    #rails

    Accessing data from a join query in Rails

    11-02-2021

    #rails

    Same database table parent/child relationship using Rails

    12-25-2021

    #rails

    Persist multiple records in one database transaction using Rails

    04-03-2021

    #rails#databases

    The difference between Sidekiq's Kill and Delete functions

    07-13-2021

    #rails#sidekiq

    How to get unique values for a database column in Rails

    03-17-2021

    #rails#databases

    Difference between before_save and before_update and before_create in Rails

    01-18-2022

    #rails#active-record

    How to execute a task inside a Rails app

    08-10-2022

    #rails

    How to generate uuids in a Ruby on Rails application

    01-08-2022

    #rails

    Handle controller responses using Rails before_action

    03-25-2022

    #rails

    Handling unavailable server data in Rails

    09-26-2022

    #rails#sidekiq

    How does Rails handle referential integrity

    01-07-2022

    #rails#databases

    How to call a Rails method before a validations occur

    01-17-2022

    #rails#active-record

    How to delete the leading and trailing whitespace of a string in Ruby

    04-08-2022

    #rails#turbo

    How to handle token auth in Rails

    01-02-2022

    #rails#auth

    Ruby on Rails integration testing cheatsheet

    01-01-2022

    #rails#testing

    Rails random date generator

    04-20-2022

    #rails

    How to render a collection of turbo frames

    04-09-2022

    #rails#turbo

    How to render turbo frames within a multi-part form

    04-08-2022

    #rails#turbo

    Validating a string is a URL in Rails

    04-21-2022

    #rails

    Verify HTTP header signature in Rails

    03-24-2022

    #rails#http

    When to use polymorphic associations in Rails

    01-20-2022

    #rails#active-record