RichardOnRails wrote:
> Hey Marnen,
> 
[irrelevant math analogy snipped] 
> 
>> Where's the downside?
> 
> For this app, we don't want any plug-ins.  

Why on earth not?  Do you have a reason for this, and if so, what is it? 
 (I don't think I've ever seen a nontrivial Rails app that didn't have 
at least one plugin or non-Rails gem dependency.)

Appropriate use of third-party libraries is an important development 
skill. At some level, you know this, or you'd be writing your own Web 
framework instead of using Rails. :)

> Discussing AuthLogic is
> secondary.

Why, when it's the appropriate solution in this case?

>  No one seems interested in helping with the original
> question.  Is that because the question is unanswerable, or because
> neither of you can answer it with the facts as I presented them?

It's because it's not a question you should be worrying about as a Rails 
beginner.  You should not be reinventing user authentication when there 
is an excellent plugin that will do everything you're asking for.

(In fact, the answer to your question is simple.  Read the docs for the 
resources method and all will become clear -- sign_in is not one of the 
7 default action names, and you didn't declare it.)

Now, if you take a look at Authlogic and think you can do better, then 
please do so!  But do so in order to build a better mousetrap, not out 
of "Not Invented Here" syndrome. 

> 
> As Hamlet said so eloquently, "That is the question."

Programming is not a life-or-death matter (well, unless you're in the 
medical device industry...). 

> 
> Best,.
> Richard

Best,
-- 
Marnen Laibow-Koser
http://www.marnen.org
[email protected]

Sent from my iPhone


-- 
Posted via http://www.ruby-forum.com/.

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to