Forum: Ruby on Rails rake create_sessions_table, does not create session table

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
2689ef6ed6006970c3d153075df3df18?d=identicon&s=25 Jigar Gosar (Guest)
on 2006-06-01 07:15
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
27c170f482104299af279902be0a9c26?d=identicon&s=25 Trevor Squires (Guest)
on 2006-06-01 09:48
(Received via mailing list)
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/Understand...

--
Trevor Squires
http://somethinglearned.com
2689ef6ed6006970c3d153075df3df18?d=identicon&s=25 Jigar Gosar (Guest)
on 2006-06-13 14:58
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/Understand...
>
> --
> Trevor Squires
> http://somethinglearned.com
36958dd94ca666a38483df282a5214d5?d=identicon&s=25 Peter Ertl (Guest)
on 2006-06-13 15:15
(Received via mailing list)
# 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
This topic is locked and can not be replied to.