https://github.com/hardpixel/simple-attribute
Attribute decorator support for ActiveRecord models.
https://github.com/hardpixel/simple-attribute
actionpack decorator ruby-gem ruby-on-rails
Last synced: about 2 months ago
JSON representation
Attribute decorator support for ActiveRecord models.
- Host: GitHub
- URL: https://github.com/hardpixel/simple-attribute
- Owner: hardpixel
- License: mit
- Created: 2017-11-13T12:58:49.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2020-03-06T11:37:53.000Z (about 6 years ago)
- Last Synced: 2025-12-04T23:39:34.364Z (5 months ago)
- Topics: actionpack, decorator, ruby-gem, ruby-on-rails
- Language: Ruby
- Size: 29.3 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# SimpleAttribute
Attribute decorator support for ActiveRecord models.
[](https://badge.fury.io/rb/simple_attribute)
[](https://travis-ci.org/hardpixel/simple-attribute)
[](https://codeclimate.com/github/hardpixel/simple-attribute/maintainability)
## Installation
Add this line to your application's Gemfile:
```ruby
gem 'simple_attribute'
```
And then execute:
$ bundle
Or install it yourself as:
$ gem install simple_attribute
## Usage
TODO: Write usage instructions here
## Development
After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake test` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment. To install this gem onto your local machine, run `bundle exec rake install`.
## Contributing
Bug reports and pull requests are welcome on GitHub at https://github.com/hardpixel/simple-attribute.
## License
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).