RailsCasts Pro episodes are now free!
Learn more or hide this
GitHub User: ekampf
Site: http://www.developerzen.com
How would you handle overriding the as_json method for a Polymorphic model?
Once I try to override the query changes to :
... items.type IN ('Api::V1::ProjectsController::Project') ...
items
type
How would you handle overriding the as_json method for a Polymorphic model?
Once I try to override the query changes to :