public
Fork of vigetlabs/foreign_key_migrations
Description: A gem/plugin for ActiveRecord that lets you define foreign keys in migrations.
Clone URL: git://github.com/crnixon/foreign_key_migrations.git
100644 22 lines (14 sloc) 0.347 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id$
 
if HAVE_BONES
 
namespace :bones do
 
  desc 'Show the PROJ open struct'
  task :debug do |t|
    atr = if t.application.top_level_tasks.length == 2
      t.application.top_level_tasks.pop
    end
 
    if atr then Bones::Debug.show_attr(PROJ, atr)
    else Bones::Debug.show PROJ end
  end
 
end # namespace :bones
 
end # HAVE_BONES
 
# EOF