-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Hi,
As I see, there are some date and time related scopes like these ones:
created_on_day(t)
created_on_month(t)
created_on_year(t)
...
created_on_or_before(t)
created_on_or_before_day(t)
created_on_or_before_month(t)
created_on_or_before_year(t)
created_on_or_after(t)
created_on_or_after_day(t)
created_on_or_after_month(t)
created_on_or_after_year(t)
Problem with scope names is that preposition "on" should be used with days and dates only. The better way to name these scopes, IMO would be:
created_on_day(t)
created_in_month(t)
created_in_year(t)
...
created_at_or_before(t)
created_on_or_before_day(t)
created_in_or_before_month(t)
created_in_or_before_year(t)
created_at_or_after(t)
created_on_or_after_day(t)
created_in_or_after_month(t)
created_in_or_after_year(t)
Anyway, it'd be better to ask native speaker to review scope names.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels