search for: list_articl

Displaying 2 results from an estimated 2 matches for "list_articl".

Did you mean: list_article
2007 Jul 01
3
Session WTF ?
...nd(:all) @remote_user.each do |r_user| if (r_user.login == @current_user.login and r_user.pass == @current_user.pass) ok = true end end if (ok) session[:user_login] = params[:login] session[:user_access] = params[:access] redir = ''list_article'' end redirect_to :action => redir end I want to display the name of logged person. In my views I have: <%= if session[:user_login] then "OK #{session[:user_login]}" else "Php RoX !" end %> But "session[:user_login]" i...
2006 May 01
4
When to make a new controller
Hey all, Ok this is probably a newb question, but I haven''t been programming with MVC for very long, and I''ve been wondering what the general opinion is, or best practices, for making a new controller. Like what cases would you need a new controller for and what cases can you just put everything into one controller? Thanks in advance, Randal -- Posted via