lib/generators/cream/app/app_generator.rb in cream-0.8.9.3 vs lib/generators/cream/app/app_generator.rb in cream-0.9.0
- old
+ new
@@ -1,9 +1,9 @@
require 'sugar-high/file'
require 'sugar-high/module'
require 'cream'
-require 'rails3_artifactor'
+require 'rails_artifactor'
require 'generators/cream/helpers/all'
module Cream
module Generators
class AppGenerator < ::Rails::Generators::Base
@@ -29,11 +29,10 @@
end
protected
include Cream::GeneratorHelper
- include Rails3::Assist::BasicLogger
- extend Rails3::Assist::UseMacro
+ extend RailsAssist::UseMacro
use_helpers :app, :special, :file, :view, :model
def app_orm
File.replace_content_from application_file, :where => "require 'rails/all'" do
%q{
\ No newline at end of file