Regards,
rp8
=======================
http://lun.competo.com/
Frederick Cheung wrote:
> On Dec 20, 2:55�pm, "pat.osterday" <pat.oster...@gmail.com> wrote:
>> Is there any way to use the to_json includes when using
>> "render :json"?
>>
>> I've got this:
>>
>> format.json { render :json => { :order => @orders } }
>>
>
> render :json => @orders.to_json(...)
>
> Fred
--
Posted via http://www.ruby-forum.com/.