#495 √ resolved
jack dempsey (jackdempsey)

merb-slices to_sym's its namespace; merb-core to_s's it

Reported by jack dempsey (jackdempsey) | September 24th, 2008 @ 06:19 AM

Opening a ticket to keep track of this. In merb-slices we have:

setup routes - capture the slice's routes for easy reference

self.namespace(namespace.to_sym, options.except....

which prevents a namespace that is nil or an empty string. This gets passed off to #namespace which then does:

def namespace(name_or_path, opts = {}, &block) name = name_or_path.to_s # We don't want this modified ever

Not really a big bug, but something worth cleaning up imho. Thoughts?

Comments and changes to this ticket

Please Login or create a free account to add a new comment.

You can update this ticket by sending an email to from your email client. (help)

Create your profile

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