lib/generators/cancan/permits/permits_generator.rb in cancan-permits-0.3.10 vs lib/generators/cancan/permits/permits_generator.rb in cancan-permits-0.3.11
- old
+ new
@@ -1,10 +1,10 @@
require 'rails/generators/base'
require 'sugar-high/array'
require 'active_support/inflector'
-require 'rails3_artifactor'
-require 'logging_assist'
+require 'rails_artifactor'
+# require 'logging_assist'
module Cancan
module Generators
class PermitsGenerator < Rails::Generators::Base
desc "Creates a Permit for each role in 'app/permits' and ensures that the permit folder is added to Rails load path."
@@ -35,10 +35,10 @@
permits_initializer if permits_initializer?
end
protected
- include Rails3::Assist::BasicLogger
+ # include Rails3::Assist::BasicLogger
extend Rails3::Assist::UseMacro
use_helpers :app, :file, :special
attr_accessor :permit_name, :permit_logic
\ No newline at end of file