On 18 January 2015 at 19:13, Deepak Sharma <deeky.sharma@gmail.com> wrote:
> Hello,
>
> I am creating an application regarding the book in which the user can read
> the content of the book. I want the user should be automatically redirect to
> the login page after the interval of 30 seconds while reading the book. For
> login / logout I'm using Devise. I have created a new controller named
> "pustak_controller.rb" for the purpose of session. I am totally new to this.
If you have not already done so then I suggest starting by working
right through a good tutorial such as railstutorial.org (which is free
to use online). That will show you the basics of rails.
Note that for your automatic redirect after 30 seconds I think you
will have to use javascript.
Colin
--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/CAL%3D0gLvKF8XHwJWKV9xP5OHOWE6pQSpLW5iM01QSKHUK0t-jKg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment