Forum: Ruby on Rails help with rails+sproutcore

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
006945e504774abb9c83cd43f4faeebf?d=identicon&s=25 Srilatha Bhuvanapalli (geneeyuss)
on 2008-12-03 18:09
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-...

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
This topic is locked and can not be replied to.