Permalink
Browse files

Added support for field_naming_convention

  • Loading branch information...
Corin Lawson
Corin Lawson committed May 5, 2011
1 parent d48818b commit 73e5aa4eb46d0cfa137816c04e564565823b952c
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/dm-rails/setup.rb
View
@@ -20,6 +20,9 @@ def self.setup_with_instrumentation(name, options)
if convention = configuration.resource_naming_convention[name]
adapter.resource_naming_convention = convention
end
+ if convention = configuration.field_naming_convention[name]
+ adapter.field_naming_convention = convention
+ end
setup_log_listener(options['adapter'])
end

0 comments on commit 73e5aa4

Please sign in to comment.