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

Move reusable Location create methods to a "locationable" module #2298

Merged
merged 3 commits into from
Aug 9, 2024

Conversation

nimmolo
Copy link
Contributor

@nimmolo nimmolo commented Aug 9, 2024

Makes the methods used by the ObservationsController for validating and creating a new Location and associating it with an @observation available in a reusable module, so they can be used by the Fungaria, Profile, Projects, etc. controllers.

(Why not call it "Locatable"? It would be a better word, but these records might be locatable by other attributes (lat/lng, or address). These methods are specifically about adding associated Locations, so i figured this made the intent clearer.)

@coveralls
Copy link
Collaborator

coveralls commented Aug 9, 2024

Coverage Status

coverage: 93.52% (+0.002%) from 93.518%
when pulling fd1882c on locationable-controller-methods
into c8606b4 on main.

@nimmolo nimmolo marked this pull request as ready for review August 9, 2024 20:11
@nimmolo nimmolo merged commit f34c17c into main Aug 9, 2024
7 of 8 checks passed
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

Successfully merging this pull request may close these issues.

2 participants