RailsCasts Pro episodes are now free!

Learn more or hide this

James Cole's Profile

GitHub User: tortillaj

Site: http://ofjamescole.com

Comments by James Cole

Avatar

I agree. It seems simpler and cleaner to stick with RABL since it's just another view type. Sticking with a view layer, whether viewed by a browser or "viewed" by an API, is just more intuitive to me. Plus, passing around a project built with RABL is going to be a lot easier to understand by a random 3rd party.

Maybe, like you said, this is better for knocking something out quickly or if it's a small project you work on alone. It's going to get really hackey feeling after 5+ controllers each running their own tests...