README.md in restpack_serializer-0.4.27 vs README.md in restpack_serializer-0.4.28
- old
+ new
@@ -10,9 +10,20 @@
---
* [An overview of RestPack](http://www.slideshare.net/gavinjoyce/taming-monolithic-monsters)
* [JSON API](http://jsonapi.org/)
+## Getting Started
+
+### For rails projects:
+After adding the gem `restpack_serializer` to your Gemfile, add this code to `config/initializers/restpack_serializer.rb`:
+
+```ruby
+Dir[Rails.root.join('app/serializers/**/*.rb')].each do |path|
+ require path
+end
+```
+
## Serialization
Let's say we have an `Album` model:
```ruby