Richard,

if you don't want to use any plug in and you want to write all the code for an authentication solution, but you can't port a 2006 solution to a 2010 one, you need to get more into Rail's inner workings and understand deeply how Rails work. Taking a look at the question you ask at the end of your original post, I'd say you're in the right path. On the other hand, you can try RestfulAuthentication, which generates a lot of code (models, views, controllers, tests, and more) in your app (on the contrary of Authlogic - which it doesn't) and take a look at that code to understand how it works. Getting a gasp on Rails might be difficult at the beginning if you have experience in other languages / frameworks because of how easy, well structured and thought is, but believe me, understanding how Rails works will save you a lot of time and work in the future.

--
Mis mejores deseos,
Best wishes,
Meilleurs voeux,

Juan Pablo
------------------------------------------------------
http://www.twitter.com/eljuanchosf


RichardOnRails wrote:
Hey Marnen,

Suppose someone posted on the Math Forum (if there is such a thing)
the question: what are the roots of the following equation:
6x^2 - 13x + 6 = 0,

I'd respond "3/2 & 2/3", not:
1. use the Quadratic Formula, nor
2. factor the polynomial

After answering the question asked,  I'd probably provide links to
factoring and the Quadratic Formula.

Where's the downside?

For this app, we don't want any plug-ins.  Discussing AuthLogic is
secondary.  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?

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

Best,.
Richard

On Jul 5, 9:07 pm, Marnen Laibow-Koser <[email protected]> wrote:
RichardOnRails wrote:
Hi Juan & Marnen,
Marnen is absolutely right about his suggestion.
You guys may be right about the best way to add authentication to a
Rails app. But that may not be the best way for me to learn Rails
development.
It probably is: you can do the easy stuff yourself while learning from
plugins for the hard stuff.  You can look at the plugin code, but in the
meantime you know your app works.  Where's the downside?

  I'll take a look at AuthLogic in due time.  But right

now I'd like some help in fixing a routing problem, so I'm going to
post that question on a separate thread without the context of
authentication.
Thanks for your respponses. Best wishes,
Richard
On Jul 5, 5:06 pm, Juan Pablo Genovese <[email protected]>
--
Posted viahttp://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