README.rdoc in guilded-1.0.2 vs README.rdoc in guilded-1.0.3

- old
+ new

@@ -147,12 +147,12 @@ There is also a view helper to apply the JavaScript. You can place this at the bottom of your layout(s) (so you do not have to include it in every template): <%= g_apply_behavior %> -You also must reset the Guilded singleton that manages everything after each rendering. The best way to do this is a before -filter in your application controller: +A before filter is automatically set up in your application controller to reset the Guilded singleton that manages +everything after each rendering. The code looks like this: before_filter :reset_guilded #... @@ -160,10 +160,12 @@ def reset_guilded Guilded::Guilder.instance.reset! end -Then install one or more Guilded components and you are on your way! +You may want to opt out of this before filter in actions that do not use a layout for efficiency. + +Next, install one or more Guilded components and you are on your way! == LICENSE Copyright (c) 2009 C. Jason Harrelson (midas) \ No newline at end of file