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

Developer locations #286

Merged
merged 19 commits into from Feb 20, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Clean up query a bit (thanks @radar!)
  • Loading branch information
joemasilotti committed Feb 20, 2022
commit a106be62f9a18fd166236d59ab4d7c88a2964912
@@ -28,6 +28,6 @@ def role_types
private

def utc_offsets
Location.select(:utc_offset).order(:utc_offset).distinct.pluck(:utc_offset)
Location.order(:utc_offset).distinct.pluck(:utc_offset)
end
end