README.markdown in schemata-0.0.0 vs README.markdown in schemata-0.1.0
- old
+ new
@@ -19,14 +19,32 @@
##Available schemata
* Addressable
* Contactable
-* Menuable
* Nameable
##Creating your own collection
-coming soon..
+
+Creating your own collections is easy:
+
+ #schema/timeable.rb
+ module Schemata
+ module Schema
+ def timeable
+ apply_schema :start_time, :datetime
+ apply_schema :end_time , :datetime
+ end
+ end
+ end
+
+Then require the file in environment.rb or your rails engine.
+
+ require 'schema/timeable'
+
+You can define as many methods within a file as you want and they'll be available. A quick an easy way to port your definitions would be to create a gem like schemata-timeables.
+
+
## Contributing to schemata
* Check out the latest master to make sure the feature hasn't been implemented or the bug hasn't been fixed yet
* Check out the issue tracker to make sure someone already hasn't requested it and/or contributed it