diff options
author | José Valim <jose.valim@gmail.com> | 2009-06-17 18:38:37 +0200 |
---|---|---|
committer | José Valim <jose.valim@gmail.com> | 2009-06-19 16:11:54 +0200 |
commit | 090de591fc9038e12a94aa109829919ccec3a0be (patch) | |
tree | 499c061d724084e318b5d789aaadb79b8d6eaea1 /railties/lib/generator/base.rb | |
parent | 6619357f75053db08f96ab0649312d1ba1126d2a (diff) | |
download | rails-090de591fc9038e12a94aa109829919ccec3a0be.tar.gz rails-090de591fc9038e12a94aa109829919ccec3a0be.tar.bz2 rails-090de591fc9038e12a94aa109829919ccec3a0be.zip |
Raise an error if invalid value for database is provided.
Diffstat (limited to 'railties/lib/generator/base.rb')
-rw-r--r-- | railties/lib/generator/base.rb | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/generator/base.rb b/railties/lib/generator/base.rb index 5f51f93520..604e705e73 100644 --- a/railties/lib/generator/base.rb +++ b/railties/lib/generator/base.rb @@ -7,6 +7,9 @@ require 'thor' module Rails module Generators + class Error < Thor::Error + end + class Base < Thor::Group include Rails::Generators::Actions include Thor::Actions |