lib/eucalypt/security/namespaces/security-pundit/cli/security-pundit.rb in eucalypt-0.3.2 vs lib/eucalypt/security/namespaces/security-pundit/cli/security-pundit.rb in eucalypt-0.3.3
- old
+ new
@@ -62,10 +62,10 @@
inject_into_file(user_model_file, insert, before: / include BCrypt/) unless contents.include? insert
insert = "\n private\n\n def create_role\n self.role = Role.new\n end\n"
inject_into_file(user_model_file, insert, before: /^end/) unless contents.include? insert
end
- Out.info "Ensure you run `#{'rake db:migrate'.colorize(:bold)}` to create the necessary tables for Pundit."
+ Out.info "Ensure you run `#{'eucalypt rake'.colorize(:bold)}` to create the necessary tables for Pundit."
else
Eucalypt::Error.wrong_directory
end
end
\ No newline at end of file