README.rdoc in midas-guilded-0.1.4 vs README.rdoc in midas-guilded-0.1.8
- old
+ new
@@ -1,13 +1,11 @@
= guilded-base
-http://github.com/midas/guilded-base/tree/master
+http://github.com/midas/guilded/tree/master
== DESCRIPTION
-Warning: This project just started and there are no stable releases available yet.
-
Guilded is a framework for building web based components centered around current web standards and best practices. The current
framework is written in ruby, but could be ported to other languages.
Guilded intends to provide a toolset for creating and consuming reusable web components. Currently, this problem domain is
filled with JavaScript frameworks. These frameworks are wonderful and work very well. However, they do not degrade and are
@@ -77,11 +75,11 @@
== INSTALL FOR RAILS
Add to environment file:
- config.gem "guilded", :version => '0.1.4'
+ config.gem "guilded", :version => '0.1.8'
Run:
sudo rake:gems:install
@@ -92,9 +90,31 @@
Edit the settings file at config/initializers/load_guilded_settings.rb. Change any of these settings to reflect how
you would like Guilded to be configured. If you change where any file(s) are configured to be located, then also move
the respective file(s).
+
+Next you must make a call to the view helper to apply the CSS It should be placed in your layout:
+
+ <%= g_apply_style %>
+
+There is also a view helper to apply the JavaScript. You can place this at the bottom of your layouts (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:
+
+ before_filter :reset_guilded
+
+ #...
+
+ protected
+
+ def reset_guilded
+ Guilded::Guilder.instance.reset!
+ end
== LICENSE
Copyright (c) 2009 C. Jason Harrelson
\ No newline at end of file