authentication page in rails? - ruby-on-rails

I have tried few examples in rails and it went wrong in some way. Finally i looked at https://github.com/plataformatec/devise_example.git , which works correctly but i find it difficult to understand how it works or the process of getting it done. So if someone can help me by explaining the steps involved in the same example if possible or the other, i can understand it. Thanks.

You might want to watch the RailsCasts episode on Devise: http://railscasts.com/episodes/209-introducing-devise

Related

Rememberable in Devise Rails 4

I have seen a few posts about this but none that truly seem to answer what I'd like to understand which is – "How do I know rememberable is working the way I think it should be?"
While testing in localhost using the EditThisCookie chrome extension, I am able to see that a remember_user_token is being created but how do I know before pushing this to staging that it's working correctly?
Maybe I'm being a little too broad for the likings for stackoverflow but I didn't want to make this into a long-winded post where I post my code and ask someone to dissect it – that's not my intention. More than anything, I'm looking for some guidelines maybe even a great blog post/tutorial that explains setting this up step-by-step so I can wrap my head around if it's working and the how/why behind it. Thanks in advance and I apologize if my approach was not the best. I'd be happy to provide more information for some feedback/maybe tips to consider that I didn't consider previously.
There are some tests within the devise gem that ensure the rememberable is working as expected. You can read at them here:
https://github.com/plataformatec/devise/blob/master/test/integration/rememberable_test.rb
Let me know if I'm missing some part of the question :)

Transitioning from devise to roll-your-own auth in Rails?

I got started building an app which 20-30 people are currently using. I used devise, and I'm now wishing I had not... for reasons such as ease of adding a guest user, etc.
I think I want to remove devise, and follow the Hartl tutorial to create my own authorization.
Has anyone done this before? Do you have any advice?
Thanks!
Yes. Definitely start with Michael Hartl's tutorial. It is really comprehensive, detailed and very well written. More importantly, he always places an emphasis in security. So yeah, his tutorial is surely the way to go.
Good luck!

Apotomo alternative

The information on the home page of the project I'm working has been piling up that now we are looking for something to create a dashboard-like interface.
That's how I found Apotomo, but I'm wondering what would be some alternatives worth looking into.
So far, I've looked through the Rails Presenters on ruby-toolbox.
Thankful for any suggestions to speed-up the development.
ActiveAdmin has a nice dashboard, might be worth checking out. Here it is on their demo and the commented code

Rails 3 Authlogic Tutorial

What are some good rails 3 tutorials for implementing Authlogic? The example listed on github is quite outdated and while the Railscast example does a great job of explaining everything it is beginning to show its age.
I've heard mixed reviews about devise but after installing it, watching several railscasts on its capabilities, and going through the tutorials I've decided to stick with it.
Try devise, its a lot simpler :)

Is there a tutorial for Facebooker (Rails API for Facebook)

There once was a Facebooker tutorial which was a facebook app but for the last few weeks I'm greeted with just a blank page when I go to it. Does anyone know of any good resources for getting started with the Facebooker plugin for Rails?
I was kind of surprised at how difficult it is to find this... any help would be greatly appreciated thanks!
There are several resources for FBML canvas apps including http://www.pragprog.com/titles/mmfacer and the related screencasts. These are out of date, but give you at least a good overview. You can also ask questions on the Facebooker google group.
(Note: I'm a little biased as I'm the author of the link book and the maintainer of Facebooker)

Resources