# Help with rails+sproutcore

**URL:** <https://www.ruby-forum.com/t/help-with-rails-sproutcore/154765>\
**Category:** Rails\
**Created:** [December 3, 2008, 6:09pm UTC](https://www.ruby-forum.com/t/help-with-rails-sproutcore/154765 "2008-12-03T18:09:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![geneeyuss](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/g/e495f1/32.png) [@geneeyuss](https://www.ruby-forum.com/u/geneeyuss)\
**Post date:** [December 3, 2008, 6:09pm UTC](https://www.ruby-forum.com/t/help-with-rails-sproutcore/154765/1 "2008-12-03T18:09:44Z")

</div>

I have been trying to use rails as the backend for sproutcore. I am  
following the tutorial:

> **[lawrencepit.com](http://blog.lawrencepit.com/2008/07/19/sproutcore-rails/#comment-4)**
>
> This domain may be for sale!

I have followed all the steps in the tutorial. When I try to run the  
[http://localhost:4020/contacts](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
