Главная
translate
Войти
Регистрация
Форум
Блоги
Пользователи
Список джемов
Rails проекты
Поиск
Loading...
Login form
Ruby On Rails in UA
/
Программирование на ROR
/
restful authentication
/
RE: restful authentication
назад
новый
ответить
2008-06-10 07:12:01
Ответить
Yaroslav Syachin
Адрес:
Сообщений: 17
Регистр: 2007-08-23
его блог
0 сообщ.
RE: restful authentication
В UsersController, метод create. Вот он:
def create cookies.delete :auth_token # protects against session fixation attacks, wreaks havoc with # request forgery protection. # uncomment at your own risk # reset_session @user = User.new(params[:user]) @user.save if @user.errors.empty? self.current_user = @user redirect_back_or_default('/') flash[:notice] = "Thanks for signing up!" else render :action => 'new' end end
назад
новый
ответить
Ключевые слова:
named migration [1]
grep [1]
запуск [1]
simple feed reader [1]
Comodo Group INC. [1]
система уравнений [1]
3-tier architecture [1]
миграции [1]
AuthenticatedSystem [1]
rails work Ukraine Odessa [1]
RailsConf [1]
render erb [1]
What is REST? [1]
test [1]
thinking_sphinx:index [1]
числа фибоначи [1]
thumbs ruby [1]
h.delete(5) [1]
arra [1]
github [2]
Гости: 69 Онлайн:
Алексей
,
Alekseeff
,
О проекте
по всем вопросам обращайтесь на
support
Rubyclub.com.ua
Copyright © 2007 - 2008