Displaying 1 result from an estimated 1 matches for "ngnerror".
Did you mean:
nanerror
2009 Dec 30
2
relating controllers... How to?
...ction =>
"index", :task_errore => error.type %>
and create method in error_details controller as
def index(task_errore)
if !session[:user_id]
redirect_to :controller => ''user'', :action => ''login''
else
@ngn_errors = NgnError.find(:all, :conditions =>[" task_errore
= nvl(?, task_errore) ", task_errore ])
end
end
But when I click on link he say me:
ArgumentError in NgnerrorsController#index
wrong number of arguments (0 for 1)
and when I check logs
Processing NgnErrorsController#index (for 10.139.2...