Skip to content

Commit

Permalink
Fixes migrations and console env
Browse files Browse the repository at this point in the history
  • Loading branch information
einzige committed Jul 24, 2013
1 parent fd06143 commit 0dc10b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/ajaila/generators/migration_generator.rb
Expand Up @@ -29,7 +29,7 @@ class Context
attr_accessor :name

def initialize(name)
@name = "#{name.camelize}AjailaMigration"
@name = name.camelize
validate!
end

Expand Down
2 changes: 1 addition & 1 deletion lib/ajaila/tasks/console.rake
@@ -1,5 +1,5 @@
desc "Runs irb console and initializes the application"
task :console, [:env] => :environment do |_, args|
task :console, :env do |_, args|
require 'irb'

unless env = ENV['AJAILA_ENV']
Expand Down

0 comments on commit 0dc10b7

Please sign in to comment.