буду пробовать


2013/10/13 Roman Mukhin <notifications@github.com>

> In app/views/organizations/show.json.jbuilder:
>
> > @@ -3,3 +3,26 @@ json.extract! @organization, :id, :title, :description, :created_at
> >  json.phones_attributes @organization.phones, :id, :number
> >  json.emails_attributes @organization.emails, :id, :email
> >  json.network_attributes @organization.networks, :id, :name
> > +json.tags @organization.tags, :id, :name
> > +json.person_attributes @organization.people do |json, person|
> > +  json.id person.id
>
> организуй код так, чтобы person_attributes подгружались как партиал
> 'people/show'
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/RubyGarage/GarageCRM/pull/28/files#r6934649>
> .
>