Sign in through GitHub

RailsCasts Pro episodes are now free!

Learn more or hide this

Eran Kampf's Profile

GitHub User: ekampf


Comments by Eran Kampf


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') ...