README.md in carrierwave-serializable-0.0.6 vs README.md in carrierwave-serializable-0.1.0
- old
+ new
@@ -1,6 +1,6 @@
-# Carrierwave::Serializable
+# Carrierwave::Serializable ![Build Status](https://github.com/timfjord/carrierwave-serializable/actions/workflows/test.yml/badge.svg)
Carrierwave plugin that allow mount uploader to serialized field
## Installation
@@ -12,16 +12,18 @@
$ gem install carrierwave-serializable
## Usage
-If you need mount uploader to serialized field, set `serialize_to` option
-to serialized field where you want to store your uplaoder.
+To mount an uploader to the serialized field, set the `serialize_to` option
+to the serialized field where you want to store the uploader.
- class User < ActiveRecord::Base
- serialize :documents, Hash
- mount_uploader :document1, DocumentUploader, serialize_to: :documents
- end
+```ruby
+class User < ActiveRecord::Base
+ serialize :documents, Hash
+ mount_uploader :document1, DocumentUploader, serialize_to: :documents
+end
+```
## Contributing
1. Fork it
2. Create your feature branch (`git checkout -b my-new-feature`)