-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
I tried:
namespace :db do
before :migrate do
puts "before db:migrate"
end
end
but that triggers errors about calling full_comment on nil.
I also tried
before "db:migrate"
and
before "db:migrate".to_sym
No luck with those either.
I found an alternative approach just using the built-in capacities of rake documented here:
http://whynotwiki.com/Rake#Can_I_.22append.22_to_.2F_add_a_postrequisite_to_a_task.3F
But I like the rake-hooks syntax and would gladly use it if I could get it to work with namespaced tasks.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels