Mattias

Results 13 comments of Mattias

I've also been wanting to do this, but never got to looking any closer at it. For now, I just pass down the URL when rendering the templates. It works,...

Awesome @sos4nt will try that. Thanks.

Sweet, I'll try it.

Hi @databyte thanks for taking the time. As Engines are especially mentioned under view_path in the Readme I took for granted that it was supported =). I've tried to figure...

Hehe, fair enough. I'll rephrase it: I thought it was _already_ supported, as the Readme briefly mentions it. ;) Thanks a lot, I'll see if I come up with something.

Ok, so observations so far: - Using render in the controller doesn't work with the namespaced views either (doesn't matter if view_paths is set by Rabl.configure). - Using the full...

You could consider implementing `to_param` in a shared [Draper decorator](https://github.com/karmi/tire/wiki/Using-Tire-with-Draper). That way you can reuse the implementation between the Item and the model class. Also, you'll get a bonus, since...

@martijn You probably need to specify the date mapping for the given field. The objects you are interacting with is instances of [Item](https://github.com/karmi/tire/blob/master/lib/tire/results/item.rb) It's not the underlying Mongoid Model, unless...

@martijn Yep, in Rails, Item instances [masquerades](https://github.com/karmi/tire/blob/master/lib/tire/results/item.rb#L80) as the model.