Help with rails+sproutcore


#1

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