i’ve got a really nerving problem with sorting table columns, which i
cant solve by myself. So i need your help.
I follwed all steps as showed in this railscast:
and it worked very well.
BUT as i restated my app i get this stupid error message:
NoMethodError in GroupsController#index
You have a nil object when you didn’t expect it!
You might have expected an instance of Array.
The error occurred while evaluating nil.+
Application Trace | Framework Trace | Full Trace
Why the hell does it worked before and not now? Any ideas?
Many thanks in advance!
EDIT: Oh i forgotten to post my Modelline:
12| @users = User.find(:all, :order => sort_column + " " +