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

Documentation Example for Persisting Units #117

Closed
blairanderson opened this issue Feb 8, 2018 · 6 comments
Closed

Documentation Example for Persisting Units #117

blairanderson opened this issue Feb 8, 2018 · 6 comments

Comments

@blairanderson
Copy link

Fantastic library that you have created.

I am curious about the best-practices for validating and persisting these into databases.

Do you write new validators each time you support weight measurements?

@kmcphillips
Copy link
Member

Hi! Thanks for the compliment and feedback!

The measured-rails adapter has a whole section in the readme about validations. Does that not cover what you need it to do?

@kmcphillips
Copy link
Member

I guess that makes the assumption that you're using an ActiveRecord backed app. Which is not necessarily true.

@blairanderson
Copy link
Author

WOW - i missed that 3rd little line of the readme. please ignore me.

@kmcphillips
Copy link
Member

No problem. Let us know if it doesn’t meet your needs. Hard to know what other projects look like.

@kmcphillips
Copy link
Member

I will also make it bigger than one line maybe...

@blairanderson
Copy link
Author

blairanderson commented Feb 9, 2018 via email

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