We got nominated! Help us out and vote for GitHub as Best Bootstrapped Startup of 2008. (You can vote once a day.) [ hide ]

public
Fork of technoweenie/restful-authentication
Description: Generates common user authentication code for Rails/Merb, with a full test/unit and rspec suite and optional Acts as State Machine support built-in.
Homepage: http://weblog.techno-weenie.net
Clone URL: git://github.com/codafoo/restful-authentication.git
misspelled UsersHelper as usersHelper ; was returning the wrong thing from 
login_by_cookie
mrflip (author)
Thu May 22 00:50:39 -0700 2008
commit  cbe902da71566eb04396cadf0aac9759dd0ab50e
tree    0b6e818377a8ee26f8c712265351c218eef7ec72
parent  875781d5b4ee55120753d3a04044d8039486899e
...
124
125
126
 
127
128
129
...
124
125
126
127
128
129
130
0
@@ -124,6 +124,7 @@ module AuthenticatedSystem
0
       if <%= file_name %> && <%= file_name %>.remember_token?
0
         self.current_<%= file_name %> = <%= file_name %>
0
         handle_remember_cookie! false # freshen cookie token (keeping date)
0
+ self.current_<%= file_name %>
0
       end
0
     end
0
 
...
3
4
5
6
 
7
8
9
...
3
4
5
 
6
7
8
9
0
@@ -3,7 +3,7 @@ include ApplicationHelper
0
 include <%= model_controller_name %>Helper
0
 include AuthenticatedTestHelper
0
 
0
-describe <%= model_controller_name %>Helper do
0
+describe <%= model_controller_class_name %>Helper do
0
   before do
0
     @<%= file_name %> = mock_<%= file_name %>
0
   end

Comments

    No one has commented yet.