# Log in

**URL:** <https://www.ruby-forum.com/t/log-in/73504>\
**Category:** Rails\
**Created:** [February 26, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/log-in/73504 "2006-02-26T17:59:23Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![mikrit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@mikrit](https://www.ruby-forum.com/u/mikrit)\
**Post date:** [February 26, 2006, 5:59pm UTC](https://www.ruby-forum.com/t/log-in/73504/1 "2006-02-26T17:59:23Z")

</div>

How to carry out log in, whether that is we enter a login and the  
password and it is checked is in a database?

---

<div class="post-metadata">

**Author:** ![mikrit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@mikrit](https://www.ruby-forum.com/u/mikrit)\
**Post date:** [February 26, 2006, 8:56pm UTC](https://www.ruby-forum.com/t/log-in/73504/2 "2006-02-26T20:56:55Z")

</div>

Help me please

---

<div class="post-metadata">

**Author:** ![mikrit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@mikrit](https://www.ruby-forum.com/u/mikrit)\
**Post date:** [February 26, 2006, 9:23pm UTC](https://www.ruby-forum.com/t/log-in/73504/3 "2006-02-26T21:23:06Z")

</div>

There is no facility in rails for handling authentication. You need to  
either write your  
own or use one of the many plugins out there (which generally still  
require some  
modification to work in your app). Examples are LoginGenerator,  
SaltedHashLoginGenerator,  
ModelSecurity, ActiveRBAC, acts\_as\_autheticated, acts\_as\_acl,  
UserEngine, etc.

b

---

<div class="post-metadata">

**Author:** ![mikrit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@mikrit](https://www.ruby-forum.com/u/mikrit)\
**Post date:** [February 27, 2006, 3:03am UTC](https://www.ruby-forum.com/t/log-in/73504/4 "2006-02-27T03:03:21Z")

</div>

I recommend Rails Recipes by Chad F… The current beta book as  
two recipes on login and authentication schemes. You’ll not only get  
the login implementation that fits your application, but you’ll also  
have the benefit of understanding what’s going on. Plus, you’ll get  
60 some odd additional recipes all for the same prices. (They might  
even throw in a keychain or something.) 🙂

> **[Pragmatic Bookshelf: By Developers, For Developers](https://pragprog.com)**
>
> We improve the lives of professional developers. We create timely, practical books on classic and cutting-edge topics to help you learn and practice your craft, and accelerate your career. Come learn with us.

Michael

---

<div class="post-metadata">

**Author:** ![mikrit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@mikrit](https://www.ruby-forum.com/u/mikrit)\
**Post date:** [February 27, 2006, 2:59pm UTC](https://www.ruby-forum.com/t/log-in/73504/5 "2006-02-27T14:59:50Z")

</div>

Sure, you can get the pdf right here:

[http://www.pragmaticprogrammer.com/titles/fr\_rr/index.html](http://www.pragmaticprogrammer.com/titles/fr_rr/index.html)

If you just want the pdf then just pick that, otherwise you can get  
the combo pack, which gives you the pdf now and the hardcopy book when  
it’s released. It’s a real savings to get the combo pack, plus I like  
having a book around. Sometimes there’s just not enough screen real  
estate.

Good luck.

Michael

---

<div class="post-metadata">

**Author:** ![mikrit](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/f04885/32.png) [@mikrit](https://www.ruby-forum.com/u/mikrit)\
**Post date:** [February 27, 2006, 7:10am UTC](https://www.ruby-forum.com/t/log-in/73504/6 "2006-02-27T07:10:03Z")

</div>

Thanks Michael, I would be very glad if to me will allow url for  
uploading, example: RailsRecipes.pdf

Beforehand thanks

Mikrit
