README.md in embark-journey-0.0.7 vs README.md in embark-journey-0.0.8
- old
+ new
@@ -38,9 +38,26 @@
enum :state, %w[Active Inactive]
end
+### Searching
+
+To perform a text search on a model's attributes:
+
+ User.search('itni')
+
+
+
+### Embedding associations
+
+Often you'll want to load associated resources without needing to make additional queries. This can be specified on the `belongs_to` declaration:
+
+ class User < Journey::Resource
+ belongs_to :account, embed: true
+ end
+
+
## 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'`)