Permalink
Browse files

Rewrite Lightrail::Wrapper intro

  • Loading branch information...
tarcieri committed Mar 10, 2012
1 parent d72e99e commit 95cf91f072c96383fb8d9c63dc1b6bce84fa9139
Showing with 4 additions and 2 deletions.
  1. +4 −2 README.md
View
@@ -60,8 +60,10 @@ It removes several irrelevant modules and also provides following additional beh
Lightrail::Wrapper
------------------
-A wrapper functionality to make easier JSON responses.
-It is divided in three main parts:
+Wrappers are Lightrail's view replacement, and handle JSON serialization of your models.
+Instead of having a monster `#to_json` method in your model, you can factor that into a
+wrapper instead, and wrappers will automatically take care of many additional JSON
+serialization concerns for you.
**Creating A Wrapper**

0 comments on commit 95cf91f

Please sign in to comment.