In DHH''s keynote, he alluded to doing logins with REST. Has anyone implemented this, and if so, would you mind elaborating on how you did it please? Thanks in advance. -- Posted via http://www.ruby-forum.com/.
Guest wrote:> In DHH''s keynote, he alluded to doing logins with REST. Has anyone > implemented this, and if so, would you mind elaborating on how you did > it please? > > Thanks in advance.Only one I know of: http://svn.techno-weenie.net/projects/plugins/restful_authentication/ -- Posted via http://www.ruby-forum.com/.
Great thanks! David C. wrote:> Guest wrote: >> In DHH''s keynote, he alluded to doing logins with REST. Has anyone >> implemented this, and if so, would you mind elaborating on how you did >> it please? >> >> Thanks in advance. > > Only one I know of: > http://svn.techno-weenie.net/projects/plugins/restful_authentication/-- Posted via http://www.ruby-forum.com/.
Create a sessions model and login by ''create''ing a new session. Logout would simply map to destroy. Also, take a look at Rick Olson''s restful auth plugin at: http://weblog.techno-weenie.net/2006/8/1/restful-authentication-plugin -- Zack Chandler http://depixelate.com On 8/10/06, Guest <guest@guest.com> wrote:> In DHH''s keynote, he alluded to doing logins with REST. Has anyone > implemented this, and if so, would you mind elaborating on how you did > it please? > > Thanks in advance. > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
I tried it on depot application and I get the following error :( (I am using Rails 1.1.4) 22:47:18:~/work/depot > script/plugin source http://svn.techno-weenie.net/projects/plugins Cannot find gem for Rails =1.1.2: Install the missing gem with ''gem install -v=1.1.2 rails'', or change environment.rb to define RAILS_GEM_VERSION with your desired version. Could you please clarify? TIA --- Zack Chandler <zackchandler@gmail.com> wrote:> Create a sessions model and login by ''create''ing a new session. > Logout would simply map to destroy. Also, take a look at Rick Olson''s > restful auth plugin at: > http://weblog.techno-weenie.net/2006/8/1/restful-authentication-plugin > > -- > Zack Chandler > http://depixelate.com > > On 8/10/06, Guest <guest@guest.com> wrote: > > In DHH''s keynote, he alluded to doing logins with REST. Has anyone > > implemented this, and if so, would you mind elaborating on how you did > > it please? > > > > Thanks in advance. > > > > -- > > Posted via http://www.ruby-forum.com/. > > _______________________________________________ > > Rails mailing list > > Rails@lists.rubyonrails.org > > http://lists.rubyonrails.org/mailman/listinfo/rails > > > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails >
On 8/10/06, Bala Paranj <bparanj@yahoo.com> wrote:> I tried it on depot application and I get the following error :( (I am using Rails 1.1.4) > > 22:47:18:~/work/depot > script/plugin source http://svn.techno-weenie.net/projects/plugins > Cannot find gem for Rails =1.1.2: > Install the missing gem with ''gem install -v=1.1.2 rails'', or > change environment.rb to define RAILS_GEM_VERSION with your desired version. > > Could you please clarify? TIAAccording to the error message, Rails 1.1.2 is not found. Either install it, or change environment.rb to define RAILS_GEM_VERSION with the desired version. I''d suggest doing a quick upgrade and changing it to 1.1.6. -- Rick Olson http://weblog.techno-weenie.net http://mephistoblog.com
I''d use another model name than sessions, as that collides with the ActiveRecordStore session handler. On Aug 10, 2006, at 5:25 PM, Zack Chandler wrote:> Create a sessions model and login by ''create''ing a new session. > Logout would simply map to destroy. Also, take a look at Rick Olson''s > restful auth plugin at: > http://weblog.techno-weenie.net/2006/8/1/restful-authentication-plugin > > -- > Zack Chandler > http://depixelate.com > > On 8/10/06, Guest <guest@guest.com> wrote: >> In DHH''s keynote, he alluded to doing logins with REST. Has anyone >> implemented this, and if so, would you mind elaborating on how you >> did >> it please? >> >> Thanks in advance. >> >> -- >> Posted via http://www.ruby-forum.com/. >> _______________________________________________ >> Rails mailing list >> Rails@lists.rubyonrails.org >> http://lists.rubyonrails.org/mailman/listinfo/rails >> > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails