Skip to content

Commit

Permalink
[padrino-gen] Silences warnings about ActiveRecord::Schema in yardoc …
Browse files Browse the repository at this point in the history
…file
  • Loading branch information
nesquena committed Jun 12, 2010
1 parent a545fde commit 87c3f25
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions padrino-gen/lib/padrino-gen/padrino-tasks/activerecord.rb
@@ -1,4 +1,8 @@
if defined?(ActiveRecord)
# Fixes for Yardoc YRI Building
class ActiveRecord; end unless defined?(ActiveRecord)
class ActiveRecord::Schema; end unless defined?(ActiveRecord::Schema)

namespace :ar do
namespace :create do
desc 'Create all the local databases defined in config/database.yml'
Expand Down

0 comments on commit 87c3f25

Please sign in to comment.