Prateek Codes Blog
  • Blog
  • Categories
  • Projects

    Rails

    Rails 7.1 handles long auto-generated index names with a limit

    Rails 7.1 adds a limit of 62 bytes on auto-generated index names. There is also a bonus deep dive at the end.

    Prateek Choudhary Prateek Choudhary
    23 Oct 2023

    Rails adds a limit of fetching 10 records when using pretty print

    ActiveRecord::Relation#pretty_print is a method that pretty prints an ActiveRecord::Relation object.

    Prateek Choudhary Prateek Choudhary
    31 Jan 2022

    Rails 7

    Rails adds a limit of fetching 10 records when using pretty print

    ActiveRecord::Relation#pretty_print is a method that pretty prints an ActiveRecord::Relation object.

    Prateek Choudhary Prateek Choudhary
    31 Jan 2022

    Gotchas

    Rails adds a limit of fetching 10 records when using pretty print

    ActiveRecord::Relation#pretty_print is a method that pretty prints an ActiveRecord::Relation object.

    Prateek Choudhary Prateek Choudhary
    31 Jan 2022

    Security

    The target _blank vulnerability

    Are you using target='_blank' in your links? If you are, you should be using rel='noopener noreferrer' with it.

    Prateek Choudhary Prateek Choudhary
    02 Feb 2022

    Rails 7.1

    Rails 7.1 handles long auto-generated index names with a limit

    Rails 7.1 adds a limit of 62 bytes on auto-generated index names. There is also a bonus deep dive at the end.

    Prateek Choudhary Prateek Choudhary
    23 Oct 2023

    Migrations

    Rails 7.1 handles long auto-generated index names with a limit

    Rails 7.1 adds a limit of 62 bytes on auto-generated index names. There is also a bonus deep dive at the end.

    Prateek Choudhary Prateek Choudhary
    23 Oct 2023
    Copyright © 2023 Prateek Codes Blog
    Mediumish Jekyll Theme by WowThemes.net