Skip to content

Enumeration of some improvements #4

@alexevanczuk

Description

@alexevanczuk

Creating this small ticket to track some ideas for improvements to this gem and its dependencies:

DeprecationHelper improvements

  1. Log with stack trace: this will help people build allow lists

ExplicitActiveRecord improvements

  1. Allow allow list per class for incremental work
  2. ExplicitActiveRecord::Reading
  • Start with solid test cases, e.g. WhereChainExtension, pluck, find, direct execution on DB, calling find, a join against the table, calling against a relation (e.g. foo.bars), meta-programatically defined find (Foo.find_by_my_special_column) try different approaches
  • Try to see if the sql subscriber can show what tables are being affected, and how
  1. ExplicitActiveRecord::Persistence
  • Add other ways to implicitly persist, such as update_all, etc., or at least test case that fails/skips

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions