Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.


c9 Setup error for ruby on rails

Hi Guys, I am getting this error when I try and migrate the database. Any ideas?

Thanks! -Pete

rake db:migrate                                                                                                                                          
==  CreateStatuses: migrating =================================================                                                                                                    
-- create_table(:statuses)                                                                                                                                                         
rake aborted!                                                                                                                                                                      
An error has occurred, this and all later migrations canceled:                                                                                                                     

undefined method `sting' for #<ActiveRecord::ConnectionAdapters::TableDefinition:0x0000000216f4c0>                                                                                 

Tasks: TOP => db:migrate                                                                                                                                                           
(See full trace by running task with --trace)          

1 Answer

Jason Seifer
Jason Seifer
Treehouse Guest Teacher

Hey Pete,

Try opening up your create_statuses migration and change the word "sting" to "string" and let us know if that works.