Thanks. Got it fixed.

Regards
Sumit Srivastava

The power of imagination makes us infinite...



On 7 December 2012 10:07, sumit srivastava <sumit.theinvinci...@gmail.com>wrote:

> On 7 December 2012 09:54, Jordon Bedwell <envyge...@gmail.com> wrote:
>
>> On Thu, Dec 6, 2012 at 10:20 PM, Sumit Srivastava
>> <sumit.theinvinci...@gmail.com> wrote:
>> > I am doing a join of two tables with a column with same name in both. I
>> am
>> > using "includes" to have a full join. This is giving ambiguous column
>> error.
>> > The columns cannot be removed from either of those and renaming any of
>> the
>> > two would involve two many changes. So, is there any way this can be
>> > resolved?
>>
>> Better context please.
>>
>
> Table 1:
> id, name, email, ip_address
>
> Table 2:
> id, order_name, ip_address
>
> When I am joining these two tables. I receive ambiguous column error.
>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Ruby on Rails: Talk" group.
>> To post to this group, send email to rubyonrails-talk@googlegroups.com.
>> To unsubscribe from this group, send email to
>> rubyonrails-talk+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>>
>

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to