You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So this is not an issue, it is more a question. I was thinking about modifying this library so that instead of having a config file to load data from a file I would have all configurations from the db for my rails application.
This would be beneficial for a few reasons:
I can modify/delete any unit runtime.
I can add "functional" units without the need to write new code or make new commits.
Do you think it would be an incredible pain for me to try achieving the above?
The text was updated successfully, but these errors were encountered:
pinkynrg
changed the title
Configuration file on db
Support for database
Aug 8, 2017
So basically I used this gem's engine without preloading any atoms (initial state empty array). If the user wants, it is possible to import the atoms in the UCUM code system executing a rake task.
In the database, there are 2 extra columns as well, "code_function_from" and "code_function_to" for all those units that need a function to be converted (see Celsius to kelvin for example.)
Would anyone be interested to help me make it a little less patchy?
So this is not an issue, it is more a question. I was thinking about modifying this library so that instead of having a config file to load data from a file I would have all configurations from the db for my rails application.
This would be beneficial for a few reasons:
Do you think it would be an incredible pain for me to try achieving the above?
The text was updated successfully, but these errors were encountered: