Jigar Gosar
2006-Jun-01 05:16 UTC
[Rails] rake create_sessions_table, does not create session table
when i run rake create_sessions_table, I get following output. tables donot get created and my application doesnot start. (in G:/rubysrc/blog) create db/migrate create db/migrate/001_add_sessions.rb info: the first time ran take everyting was fine, but now i have reinstalled ruby and rails and created the database, but i am unable to create session table with rake, please help. i want to create session table, and cannot understand this migration thingie. thanks, jigar -- Posted via http://www.ruby-forum.com/.
Trevor Squires
2006-Jun-01 07:47 UTC
[Rails] rake create_sessions_table, does not create session table
Hey, The command "rake create_sessions_table" *just* creates the database migration for you in rails 1.1 You need to now run "rake migrate" to get it to actually create the table. See the following link for more info: http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations -- Trevor Squires http://somethinglearned.com On 31-May-06, at 10:15 PM, Jigar Gosar wrote:> when i run rake create_sessions_table, I get following output. tables > donot get created and my application doesnot start. > > (in G:/rubysrc/blog) > create db/migrate > create db/migrate/001_add_sessions.rb > > info: the first time ran take everyting was fine, but now i have > reinstalled ruby and rails and created the database, but i am > unable to > create session table with rake, please help. i want to create session > table, and cannot understand this migration thingie. > > thanks, > jigar > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails
Jigar Gosar
2006-Jun-13 12:59 UTC
[Rails] Re: rake create_sessions_table, does not create session tabl
Thanks, its is new info for me. Is there some place where i can view all such changes in 1.1?. Thanks. Trevor Squires wrote:> Hey, > > The command "rake create_sessions_table" *just* creates the database > migration for you in rails 1.1 > > You need to now run "rake migrate" to get it to actually create the > table. > > See the following link for more info: > > http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations > > -- > Trevor Squires > http://somethinglearned.com-- Posted via http://www.ruby-forum.com/.
Peter Ertl
2006-Jun-13 13:12 UTC
[Rails] Re: rake create_sessions_table, does not create session tabl
# Creates a sessions table for use with CGI::Session::ActiveRecordStore rake db:sessions:create -------- Original-Nachricht -------- Datum: Tue, 13 Jun 2006 14:58:59 +0200 Von: Jigar Gosar <jigar.gosar@gmail.com> An: rails@lists.rubyonrails.org Betreff: [Rails] Re: rake create_sessions_table, does not create session tabl> Thanks, its is new info for me. Is there some place where i can view all > such changes in 1.1?. Thanks. > > Trevor Squires wrote: > > Hey, > > > > The command "rake create_sessions_table" *just* creates the database > > migration for you in rails 1.1 > > > > You need to now run "rake migrate" to get it to actually create the > > table. > > > > See the following link for more info: > > > > http://wiki.rubyonrails.org/rails/pages/UnderstandingMigrations > > > > -- > > Trevor Squires > > http://somethinglearned.com > > > -- > Posted via http://www.ruby-forum.com/. > _______________________________________________ > Rails mailing list > Rails@lists.rubyonrails.org > http://lists.rubyonrails.org/mailman/listinfo/rails