README.markdown in ruby_gallery-0.1.5 vs README.markdown in ruby_gallery-0.1.6
- old
+ new
@@ -1,28 +1,56 @@
-Beginning .....................
\ No newline at end of file
+# Introduction
+
+# Usage
+
+## Setup
+
+ * ``bundle``
+ * ``rails g ruby_gallery:install``
+ * ``rails g ruby_gallery MODEL``
+
+
+ EX:
+
+ ``rails g ruby_gallery user``
+
+
+ * ``rake db:migrate``
+
+
+## Add upload form for view
+
+ <%= show_gallery_images :MODEL %>
+ EX:
+
+ <%= show_gallery_images :users %> (note: model is plural)
+
+## You can reorder images in box (default you can reorderable)
+ You can set it to false
+ <%= show_gallery_images :users, {reorder: false} %>