Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prefix ActsAs? #100

Open
jonatas opened this issue Jan 17, 2025 · 1 comment
Open

Prefix ActsAs? #100

jonatas opened this issue Jan 17, 2025 · 1 comment

Comments

@jonatas
Copy link
Collaborator

jonatas commented Jan 17, 2025

Great feedback from reddit.

Nit: I hate seeing any acts_as prefix these days (for acts_as_hypertable). Thats an old paradigm which holds no value. Would rather it just be timescale_hypertable or something else.

We should consider better macro names as the user suggested 🧠

@westonganger
Copy link

If backwards compatibility is necessary you can just add an alias

def timescale_hypertable
   ...
end

alias_method :acts_as_hypertable, :timescale_hypertable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants