Permalink
Browse files

Textile syntax fix, maybe.

  • Loading branch information...
1 parent e544acb commit 0795d0687ba602be317ffc8fe4ec49a1179d06e4 @paulcarey committed Apr 10, 2010
Showing with 4 additions and 4 deletions.
  1. +4 −4 RELEASE_NOTES.textile
View
@@ -4,11 +4,11 @@ RelaxDB 0.4 contains a number of breaking changes. However, most clients should
h4. Views
-The largest change concerns automatic view generation. Prior to 0.4 an invocation of `view_by :foo` would create a JavaScript view in CouchDB of the form `emit(doc.foo, doc);`. This idiom is generally advised against. It makes view generation comparatively slow, and in particular, causes performance issues for large databases. In 0.4 `view_by :foo` now creates a map of the form `emit(doc.foo, 1);` and creates a reduce using the `_sum` builtin.
+The largest change concerns automatic view generation. Prior to 0.4 an invocation of @view_by :foo@ would create a JavaScript view in CouchDB of the form @emit(doc.foo, doc);@. This idiom is generally advised against. It makes view generation comparatively slow, and in particular, causes performance issues for large databases. In 0.4 @view_by :foo@ now creates a map of the form @emit(doc.foo, 1);@ and creates a reduce using the @_sum@ builtin.
-If view size isn't an issue for you, legacy behaviour can be preserved by replacing all invocations of `view_by` with `view_docs_by`. Similarly, any invocations of `RelaxDB.view` against auto-generated views should be replaced with `RelaxDB.docs`.
+If view size isn't an issue for you, legacy behaviour can be preserved by replacing all invocations of @view_by@ with @view_docs_by@. Similarly, any invocations of @RelaxDB.view@ against auto-generated views should be replaced with @RelaxDB.docs@.
-Note that `view_by` invocations no longer add paginate methods to the current class. Paginating over these views should be done with one of `RelaxDB.paginate` or `RelaxDB.qpaginate`.
+Note that @view_by@ invocations no longer add paginate methods to the current class. Paginating over these views should be done with one of @RelaxDB.paginate@ or @RelaxDB.qpaginate@.
h4. View Uploading
@@ -22,7 +22,7 @@ The standard idiom for saving autogenerated views is now
</code>
</pre>
-The explicit call to `.save` is new in 0.4. It was added to enable creating all views in a single request, rather than requiring a request per view.
+The explicit call to @.save@ is new in 0.4. It was added to enable creating all views in a single request, rather than requiring a request per view.
h4. Pagination

0 comments on commit 0795d06

Please sign in to comment.