Skip to content

Should we change the name from support_table_cache to something involving find_by? #1

@joslinm

Description

@joslinm

Since the kind of table it is is never taken into consideration, should the name be more straightforward? find_by_cache instead of support_table_cache? Or cache[d]_find_by?

I think this could also make the config sound more natural:

class Bicycle < Model
  # more declarative sounding this way
  cache_find_by expires: 5.minutes, ignore: [:handles, :tires]
  # vs
  support_table_cache expires: 5m , etc... 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions