I am trying to follow this blog post, specifically the part about
global naming conventions
http://www.engineyard.com/blog/2011/using-datamapper-and-rails-with-legacy-schemas/

I'm using Rails 3, Postgres, Bundler, and the 1.1.0 version of the DM
gems.

I tried the lamda approach, no dice, and I also tried monkey patching
a naming convention into the module via a file in "lib" combined with
an initializer but that isn't working either.

I have tested in the rails console that my monkey path is loaded and
will transform a string properly.

The only thing I can think of is that my initializer isn't named
datamapper.rb

Any help is appreciated.

Dave

-- 
You received this message because you are subscribed to the Google Groups 
"DataMapper" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/datamapper?hl=en.

Reply via email to