On 7 November 2012 22:49, Jeff Lockyer <li...@ruby-forum.com> wrote:
> Hi Colin,This end would appear to close the if statement.
> I don't think it is, in fact I know it isn't empty because the logic is
> if @my_names.size == 0
> render :update do |page|
I am surprised that does not cause a syntax error.
Also as others have pointed out the first element of the array could be nil.
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.