~michaelforrest/use-case-mapper/trunk

« back to all changes in this revision

Viewing changes to vendor/rails/railties/lib/rails_generator/generators/components/session_migration/USAGE

  • Committer: Michael Forrest
  • Date: 2010-10-15 16:28:50 UTC
  • Revision ID: michael.forrest@canonical.com-20101015162850-tj2vchanv0kr0dun
refrozeĀ gems

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
Description:
 
2
    Creates a migration to add the sessions table used by the Active Record
 
3
    session store. Pass the migration name, either CamelCased or under_scored,
 
4
    as an argument.
 
5
 
 
6
Example:
 
7
    `./script/generate session_migration CreateSessionTable`
 
8
 
 
9
    With 4 existing migrations, this creates the AddSessionTable migration
 
10
    in db/migrate/005_add_session_table.rb