Nick Sutterer
Nick Sutterer
Is the problem that it's trying to represent (render) a `nil` object, @ruprict ?
You're passing a `nil` object to `respond_with` which shouldn't run the representer code. What's the standard behaviour in Rails?
Ok, if you pass a `nil` object into respond_to and roar-rails tries to extend it, I am wrong. I will check that. If you extend a `nil` object yourself, you're...
Thanks! I might open Roar-rails to be "community supported" as I am not interested in supporting "the Rails Way" anymore because it's wrong and misleading people. After the Roar integration...
That would be an `ActiveModel`-related extension of Roar. How would the output of the `errors` property look like?
If you want to return a generic errors document, there should be a generic `Representer::JSON::Errors` that kicks in when `respond_with` (or whatever renders) detects an error. Introducing that, you wouldn't...
Awesome work! I will release Roar 1.0 when I'm back in Oz next week, then we can hack roar-rails 1.0. Cool?
I actually think we ever wrote docs for Tyrant -it's one of our many ideas (see Formular) that works great but lacks someone to "manage" it.
Hello friends, sorry for the delay. I looked into this. I like @gauthier-delacroix' idea of allowing overriding default values by overriding a controller method. This logic shouldn't be in a...
Cool idea, @amkirwan. Also, what if we make Decorator default? @ianks I'll check out the scaffold PR, then we can coordinate integrating @amkirwan's work.