mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix task description for db:sessions:create. Closes #9419 [topfunky]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@7398 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
parent
a79ac12c4e
commit
6b9b511de1
1 changed files with 1 additions and 1 deletions
|
@ -249,7 +249,7 @@ namespace :db do
|
|||
end
|
||||
|
||||
namespace :sessions do
|
||||
desc "Creates a sessions table for use with CGI::Session::ActiveRecordStore"
|
||||
desc "Creates a sessions migration for use with CGI::Session::ActiveRecordStore"
|
||||
task :create => :environment do
|
||||
raise "Task unavailable to this database (no migration support)" unless ActiveRecord::Base.connection.supports_migrations?
|
||||
require 'rails_generator'
|
||||
|
|
Loading…
Reference in a new issue