README.markdown in simple_auth-0.1.5 vs README.markdown in simple_auth-0.1.6
- old
+ new
@@ -120,9 +120,15 @@
logged_in? # controller & views
current_user # controller & views
current_session # controller & views
when_logged(&block) # views
+If you're having problems to use any helper, include the module <tt>SimpleAuth::Helper</tt> to your <tt>ApplicationHelper</tt>.
+
+ module ApplicationHelper
+ include SimpleAuth::Helper
+ end
+
Troubleshooting
---------------
You may receive strange errors related to `can't dup NilClass` or `You have a nil object when you didn't expect it!`. This will occur only on development mode and is an ActiveRecord bug that hasn't been fixed. Open the ActiveRecord file `activerecord-2.3.5/lib/active_record/base.rb` and comment the lines 411-412:
\ No newline at end of file