Alexis Rabago Carvajal

Results 6 comments of Alexis Rabago Carvajal

Try declaring the table name in the STI model. @msyesyan

Is this fix still relevant? Can't make it work with the through relationships mentioned in the comments

Debuging this worked for me in the controllers render inline: Rabl::Renderer.xml(@login, "app/views/scoped_directory/logins/show", view_path: Rails.root.to_s)

When you have scoped views, the weird pathing in rabl concats the paths, so a way to fit the exact path is (worked for me while debuging the gem): `Rabl::Renderer.json(objects,...

When you have scoped views, the weird pathing in rabl concats the paths, so a way to fit the exact path is (worked for me while debuging the gem): Rabl::Renderer.json(objects,...