If I have Firebug console open, and return the following in a rails controller in response to an ajax call:
format.json { render :json => Appointment.find_by_id(1) }
I get an 'invalid label' error. But it works fine it Firebug is closed.
Any ideas???