Rails create login page

Dear all rails developers,

I want to create a login page.
Could any one show me how to create a signup and signin pages.
i have try follow many websites but i can not do it.
please help me, thanks,

veasna

On 22 May 2014 09:40, Duong vong veasna [email protected] wrote:

Dear all rails developers,

I want to create a login page.
Could any one show me how to create a signup and signin pages.
i have try follow many websites but i can not do it.
please help me, thanks,

I assume that you are a beginner to Rails and therefore suggest
working right through a good tutorial such as railstutorial.org (which
is free to use online). This includes a user login/logout.

Also there are several good gems that will make this easy, such as
Devise. However, first do work through that tutorial as that will
show you the basics of rails.

Colin

This screencast should be useful:

http://railscasts.com/episodes/250-authentication-from-scratch

I suggest read/study about authentication a little before starting using
gems like ‘Devise’.

2014-05-22 5:40 GMT-03:00 Duong vong veasna [email protected]:

You received this message because you are subscribed to the Google G.
“Ruby on Rails: Talk” group.
To unsubscribe from this group and stop receiving emails from it, send an
email to [email protected]
To post to this group, send email to [email protected]
To view this discussion on the web visit

https://groups.google.com/d/msgid/rubyonrails-talk/13d8ab60-f2c4-4302-b876-18ad468661f4%40googlegroups.comhttps://groups.google.com/d/msgid/rubyonrails-talk/13d8ab60-f2c4-4302-b876-18ad468661f4%40googlegroups.com?utm_medium=email&utm_source=footer

.
For more options, visit https://groups.google.com/d/optout.


Att, Antônio Augusto de Sousa Britto - 43ª turma de Ciência da
Computação -
UFU

Thanks Colin
I will try it.

Dear Mr. Colin

I have completed create log_in page.
After log_in successfully i want to link to my page that i have create
it
in user folder.
so could you show me how to do.
thanks.

veasna

On 23 May 2014 07:57, Duong vong veasna [email protected] wrote:

Dear Mr. Colin

I have completed create log_in page.
After log_in successfully i want to link to my page that i have create it
in user folder.
so could you show me how to do.
thanks.

Have you worked right through the tutorial I suggested? If you do
that you will certainly know how to answer your own question (and also
a hundred other questions that you will need to know the answers to).

Colin

Thanks Antônio Augusto Sousa Britto
I will try it.

On Thursday, May 22, 2014 9:53:21 AM UTC-7, Antônio Augusto Sousa Britto

On 23 May 2014 10:07, Duong vong veasna [email protected] wrote:

Yes, it work when i register then i’m log_in when success it redirect to
sign_up page, so i want when log_in success redirect to my page.
i use this command “redirect_to root_url(‘users/home’), :notice => “Logged
In!””
it not run my home page. could you tell me why?

One of the things you would have learnt if you worked through the
tutorial is how to work out what is going wrong. For instance to look
in log/development.log to get more information about what is
happening. Please work through the tutorial so you will not be
embarrassed when you look back through these questions later and
wonder why you needed to ask for help.

Colin

Yes, it work when i register then i’m log_in when success it redirect to
sign_up page, so i want when log_in success redirect to my page.
i use this command “redirect_to root_url(‘users/home’), :notice =>
“Logged
In!””
it not run my home page. could you tell me why?
thanks you.

veasna

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs