On Jan 26, 2006, at 9:30 AM, Ben M. wrote:
of rails and the login generator itself were used, which is a shame.
able to find solutions to each of the problems until the tests were
passing. Sorry I can’t remember what my solutions were… Now my
problem is that I used it on a brand new project and none of the
actions/views seem to work… I probably haven’t generated what I
thought I generated.
Rails mailing list
I think you will find that you will have a much easier time using
the acts_as_authenticated plugin. It does everything that the salted
has generator does but it is much clearer whats going on, all its
tests pass and it is very very much easier to customize for your app.
The salted hash gen is a bit bloated and IMHO it tries to abstract
things a bit too much and sacrifices readability. PLus it is so
spread out that it makes it hard to hold it all in your head at once
to understand everything thats going on. You will have a much easier
time grokking the acst_as_authenticate generator. It has activation,
mailers and it uses a different salt for every user.
I use this as the basis for most apps i do that need auth these days
because it is much less imposing on your app. You will be much more
able to bend it to what you need then with the salted hash.