I have been trying to use rails as the backend for sproutcore. I am
following the tutorial:
http://blog.lawrencepit.com/2008/07/19/sproutcore-rails/#comment-4
I have followed all the steps in the tutorial. When I try to run the
http://localhost:4020/contacts, its gives me the following console
errors:
Contacts is not defined
[Break on this error] Contacts.detailController SC.ObjectController.create(
detail-1...228318788 (line 18)
Contacts is not defined
[Break on this error] Contacts.ListItemView = SC.View.extend(
list_ite...228318788 (line 17)
Contacts is not defined
[Break on this error] Contacts.masterController SC.CollectionController.create(
master-1...228318788 (line 18)
Contacts is not defined
[Break on this error] Contacts.Contact = SC.Record.extend(
contact-...228319022 (line 17)
Contacts is not defined
[Break on this error] Contacts.FIXTURES = Contacts.FIXTURES.concat([
contact-...228318788 (line 9)
Contacts is not defined
[Break on this error] Contacts.server.listFor({recordType:
Contacts.Contact});
Could some one please let me know what could be the problem.
Thanks in advance for the help
Latha
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
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
rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
To unsubscribe from this group, send email to
rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---