Skip to content
This repository has been archived by the owner on Apr 17, 2018. It is now read-only.

dm-is-remixable does a non-standard method to lookup models. #4

Open
postmodern opened this issue Nov 18, 2010 · 0 comments
Open

dm-is-remixable does a non-standard method to lookup models. #4

postmodern opened this issue Nov 18, 2010 · 0 comments
Milestone

Comments

@postmodern
Copy link
Member

I noticed that dm-is-remixable searches for models at the top-level first. This differs from how dm-core resolves models, which begins searching in the current namespace upward.

# lib/dm-is-remixable/is/remixable.rb:60
remixable_module = case remixable
  when Symbol then Object.full_const_get(ActiveSupport::Inflector.    classify(remixable))
  when String then Object.full_const_get(remixable)
  when Module then remixable
end
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant