Changeset [63c50c45545c0d7e94189c2e45789ff0c3d48ebf] by Dan Kubb

November 30th, 2008 @ 01:31 AM

Updated ManyToOne::Proxy to delegate #class to parent

  • Fixes issue with Merb resource() helper method not being able to figure out route using ManyToOne::Proxy object.

[#628 state:resolved] http://github.com/datamapper/dm-core/commit/63c50c45545c0d7e94189c2...

Committed by Dan Kubb

  • M lib/dm-core/associations/many_to_one.rb
  • M lib/dm-core/associations/one_to_many.rb
  • M lib/dm-core/query.rb
  • M spec/unit/associations/many_to_one_spec.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »