Permalink
Browse files

Fixed typos in db-related tasks

The irony is that NameError caused by typo was catched by NameError handler intended to handle "ActiveRecord not loaded" scenario.
  • Loading branch information...
1 parent 2fcaeb2 commit 5599009fd42b8b9a473a83759abe31a0d457c0e5 Alex Lebedev committed Nov 3, 2008
Showing with 2 additions and 2 deletions.
  1. +1 −1 subscription_management/tasks/schema.rb
  2. +1 −1 tracker/tasks/schema.rb
@@ -39,7 +39,7 @@
begin
begin
connected = true if ActiveRecord::Base.connection
- rescue ActiveRecord::ConenctionNotEstablished
+ rescue ActiveRecord::ConnectionNotEstablished
end
rescue NameError # ActiveRecord not loaded
end
@@ -55,7 +55,7 @@
begin
begin
connected = true if ActiveRecord::Base.connection
- rescue ActiveRecord::ConenctionNotEstablished
+ rescue ActiveRecord::ConnectionNotEstablished
end
rescue NameError # ActiveRecord not loaded
end

0 comments on commit 5599009

Please sign in to comment.