Skip to content
Browse files

Added support for field_naming_convention

  • Loading branch information...
1 parent d48818b commit 73e5aa4eb46d0cfa137816c04e564565823b952c Corin Lawson committed May 4, 2011
Showing with 3 additions and 0 deletions.
  1. +3 −0 lib/dm-rails/setup.rb
View
3 lib/dm-rails/setup.rb
@@ -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.
Something went wrong with that request. Please try again.