When i used authenticate by session in view i used this code <code> <% if @user.id != session[:id]%> <%= link_to ''Отправить Сообщение'', :controller => ''users'', :action => ''messages'', :id => @user, :anchor => ''send_message'' %> <% end %> </code> Now i authenticated user by cookies, how can i change above code for it''ll work --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---