Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialAndrea Sanchez
Courses Plus Student 2,132 PointsInstall 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
Treehouse Guest TeacherThat 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
Courses Plus Student 2,132 PointsWhen I open treebook with sublime, I do not have a models folder? please advise
Jason Seifer
Treehouse Guest TeacherTry looking in the app directory for the model folder, that is where it should be.