On Tue, Feb 22, 2011 at 12:05 AM, Niklas Nson <[email protected]> wrote:
> That gives me the error (in firebug)
>
> illegal XML character
> [Stop on error] var states = <%= @states.collect {|st...ountry_id,
> h(state.name)]}.to_json %>

If that's what the client is seeing, it would seem to indicate that your
*.js.erb file is not actually being evaluated.

Is there anything (errors) in your logs to indicate why that might be?

-- 
Hassan Schroeder ------------------------ [email protected]
twitter: @hassan

-- 
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