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.

Ruby

Andrea Sanchez
PLUS
Andrea Sanchez
Courses Plus Student 2,132 Points

Install project produced "another migration already created" message

Here is the message: after running the scaffold command

Another migration is already named create_statuses: /Users/dresanchez/treebook/db/migrate/20130715000720_create_statuses.rb unknown78ca39b70464:treebook dresanchez$ rails generate scaffold status name:string contant:text SECURITY WARNING: No secret option provided to Rack::Session::Cookie. This poses a security threat. It is strongly recommended that you provide a secret to prevent exploits that may be possible from crafted cookies. This will not be supported in future versions of Rack, and future versions will even invalidate your existing user cookies.

    Called from: /Users/dresanchez/.rvm/gems/ruby-1.9.3-p286/gems/actionpack-3.2.8/lib/action_dispatch/middleware/session/abstract_store.rb:28:in `initialize'."

Also, I have no file in Sublime, or folders. I just have a prompt window and I am not sure how to proceed.

3 Answers

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

That message means you probably ran the command twice since it already sees a create_statuses message. Try following along with the lessons from after we do that part.

You'll need a text editor to follow along and edit code with the lessons. Sublime Text is pretty good but there are other free editors out there if you search around.

Andrea Sanchez
PLUS
Andrea Sanchez
Courses Plus Student 2,132 Points

When I open treebook with sublime, I do not have a models folder? please advise

Jason Seifer
STAFF
Jason Seifer
Treehouse Guest Teacher

Try looking in the app directory for the model folder, that is where it should be.