#953 ✓duplicate
Alan Stebbens

parse_sort_param(:title, :status) returns nil; join fails on it.

Reported by Alan Stebbens | May 23rd, 2011 @ 01:53 AM

From Page 248 of the Beta6 PDF, there is an example "show" method that contains an embedded "parse_sort_param()" function call.

I've been following the tutorial thus far, and this call fails:

NoMethodError (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.join):
  app/controllers/projects_controller.rb:10:in `show'

Comments and changes to this ticket

Please Sign in or create a free account to add a new ticket.

With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.

New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

People watching this ticket

Pages