> That's not technically true, you can include associations in the output:
>
> respond_to do |wants|
>   wants.json {  render :text => @object.to_json(:include =>
> [:assocation1, :association2]) }
> end
>

This is good to know.  For myself, I'll probably stick with my current
method as it only returns the columns I need, and I still have access
to column overrides.

Thanks,
Aaron

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"ActiveScaffold : Ruby on Rails plugin" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/activescaffold?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to