README.rdoc in message_block-2.0.0 vs README.rdoc in message_block-2.0.1
- old
+ new
@@ -10,11 +10,11 @@
This view helper acts as a replacement for error_messages_for by taking error messages
from your models and combing them with flash messages (multiple types such as error, confirm, etc.)
and outputting them to your view. This gem comes with an example stylesheet and images.
-== Installation: Rails 3.1+ Asset Pipeline (message_block v1)
+== Installation: Rails 3.1+ Asset Pipeline (message_block 2.0)
Include the gem using bundler in your Gemfile:
gem "message_block", "~> 2.0"
@@ -23,15 +23,15 @@
/*
*= require message_block
*/
-== Installation: Rails 3.0 Without Asset Pipeline (message_block v2)
+== Installation: Rails 3.0 Without Asset Pipeline (message_block 1.1)
Include the gem using bundler in your Gemfile:
- gem "message_block", "~> 1.2"
+ gem "message_block", "~> 1.1"
Then run the rake task to install the static files:
rake message_block:install
@@ -89,5 +89,6 @@
<li>Warn B</li>
</ul>
</div>
Note that instead of manually specifying models you wish to report errors on, you can instead use the special <tt>:all</tt> value which will automatically use all view assign values that contain an ActiveModel::Errors "errors" method.
+