Permalink
Browse files

No need to explicitly set table_name_prefix and engine_name because i…

…solate_namespace Refinery::Copywriting does that for us.
  • Loading branch information...
1 parent c3178a8 commit 76adf54d0209aea1e1877fe51972330c43bcde20 @ugisozols ugisozols committed Apr 16, 2012
Showing with 0 additions and 5 deletions.
  1. +0 −4 lib/refinery/copywriting.rb
  2. +0 −1 lib/refinery/copywriting/engine.rb
@@ -10,10 +10,6 @@ class << self
def root
@root ||= Pathname.new(File.expand_path('../../../', __FILE__))
end
-
- def table_name_prefix
- 'refinery_copywriting_'
- end
end
end
end
@@ -4,7 +4,6 @@ class Engine < Rails::Engine
include Refinery::Engine
isolate_namespace Refinery::Copywriting
- engine_name :refinery_copywriting
config.autoload_paths += %W( #{config.root}/lib )

0 comments on commit 76adf54

Please sign in to comment.