
classification of do adapter names
Reported by yannick | June 7th, 2009 @ 04:16 AM
according to jonathan the classification is wrong.
eg.
The problem with redis_adapter is it gets 'classified' to
RediAdapter
Comments and changes to this ticket
-
Dan Kubb (dkubb) June 7th, 2009 @ 04:21 AM
- State changed from unconfirmed to accepted
The use if Extlib::Inflection.classify should be swapped out and no singularization should be performed on the String.. it should be taken as-is and camel cased.
-
Dan Kubb (dkubb) June 7th, 2009 @ 02:56 PM
- State changed from accepted to resolved
(from [74291431c8c26836528c0e6c109133ef849c70e2]) Use Extlib::Inflections.camelize to convert the adapter name into a class name
- Extlib::Inflections.classify singularizes the adaper name, which can incorrectly strip a trailing "s" from the adapter name, eg: redis => Redi
[#890 state:resolved] http://github.com/datamapper/dm-core/commit/74291431c8c26836528c0e6...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
Referenced by
-
890 classification of do adapter names [#890 state:resolved] http://github.com/datamapper/dm-co...