# Unit Measurements Rails A Rails adaptor that encapsulate measurements and their units in Ruby on Rails. [![Ruby](https://github.com/shivam091/unit_measurements-rails/actions/workflows/main.yml/badge.svg)](https://github.com/shivam091/unit_measurements-rails/actions/workflows/main.yml) [![Gem Version](https://badge.fury.io/rb/unit_measurements-rails.svg)](https://badge.fury.io/rb/unit_measurements-rails) [![Gem Downloads](https://img.shields.io/gem/dt/unit_measurements-rails.svg)](http://rubygems.org/gems/unit_measurements-rails) [![Maintainability](https://api.codeclimate.com/v1/badges/b319a452f37addbc077b/maintainability)](https://codeclimate.com/github/shivam091/unit_measurements-rails/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/b319a452f37addbc077b/test_coverage)](https://codeclimate.com/github/shivam091/unit_measurements-rails/test_coverage) [![License](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/shivam091/unit_measurements-rails/blob/main/LICENSE.md) [Harshal V. Ladhe, Master of Computer Science.](https://shivam091.github.io) ## Introduction This gem is the Rails integration for the [unit_measurements](https://github.com/shivam091/unit_measurements) gem. It provides ActiveRecord adapter for persisting and retrieving measurements with their units. ## Minimum Requirements * Ruby 3.2.2+ (https://www.ruby-lang.org/en/downloads/branches/) * Rails 7.0.0+ (https://rubygems.org/gems/rails/versions) ## Installation If using bundler, first add this line to your application's Gemfile: ```ruby gem "unit_measurements-rails" ``` And then execute: `$ bundle install` Or otherwise simply install it yourself as: `$ gem install unit_measurements-rails` ## Contributing 1. Fork it 2. Create your feature branch (`git checkout -b my-new-feature`) 3. Commit your changes (`git commit -am "Add some feature"`) 4. Push to the branch (`git push origin my-new-feature`) 5. Create new Pull Request ## License Copyright 2023 [Harshal V. LADHE]((https://shivam091.github.io)), Released under the [MIT License](http://opensource.org/licenses/MIT).