On 17 Mar., 19:39, "tashfeen.ekram" <[email protected]> wrote:
> here is specifically what i get in my firefox debug window:
>
> syntax error
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n
>
> On Mar 17, 1:52 pm, "tashfeen.ekram" <[email protected]> wrote:
>
>
>
> > here is the js that i am using for the request. does it not make a js
> > request?http://pastie.org/418937
>
> > here is my controller:
>
> >http://pastie.org/418941
>
> > then i am using create.js.erb for the response...
Well, if you are sure that:
1) You have correctly named the view "create.js.erb"
2) You don't have a layout called something like "application.js.erb"
... I have really have no clue what's going on here. I suggest you try
to upgrade the application to the latest version of Rails, and if that
doesn't fix it, I'ld be more than happy if you zipped the app and
uploaded it somewhere, so I could take a closer look.
--
Cheers,
David Knorr
http://twitter.com/rubyguy
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---