Skip to content
Browse files

Rename modularized_table_name_prefix to full_table_name_prefix [#4032

…state:resolved]
  • Loading branch information...
1 parent 67d1cec commit 5f7bc47303933ec67700f6390c98d889f6d9b0d1 @wycats wycats committed Mar 28, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 activerecord/lib/active_record/base.rb
View
4 activerecord/lib/active_record/base.rb
@@ -768,15 +768,15 @@ def reset_table_name #:nodoc:
contained = contained.singularize if parent.pluralize_table_names
contained << '_'
end
- name = "#{modularized_table_name_prefix}#{contained}#{undecorated_table_name(base.name)}#{table_name_suffix}"
+ name = "#{full_table_name_prefix}#{contained}#{undecorated_table_name(base.name)}#{table_name_suffix}"
end
@quoted_table_name = nil
set_table_name(name)
name
end
- def modularized_table_name_prefix #:nodoc:
+ def full_table_name_prefix #:nodoc:
(parents.detect{ |p| p.respond_to?(:table_name_prefix) } || self).table_name_prefix
end

0 comments on commit 5f7bc47

Please sign in to comment.
Something went wrong with that request. Please try again.