Have a look in the log to see what the parameters are, particularly
params[:list].  I think your code is assuming it is an array but the error
suggests otherwise.  Also have a look in the debugger to what is what.  Also
the source of the web page may be informative.

2009/3/27 Hiro <[email protected]>

>
>
>
> On Mar 27, 8:53 am, Phillip <p...@phillip harris.com> wrote:
> > First, the comparison between params[:new_member] and nil should use
> > "=="
> >      if nil == params[:new_member]
>
> Yes you're right It was a typing error here in the post. But I still
> have this problem I hope so can help me.
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
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 [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to