Ruby on Rails
Thursday, December 6, 2012
Thanks. Got it fixed.
Regards
Sumit Srivastava
The power of imagination makes us infinite...
Sumit Srivastava
The power of imagination makes us infinite...
On 7 December 2012 10:07, sumit srivastava <sumit.theinvincible@gmail.com> wrote:
On 7 December 2012 09:54, Jordon Bedwell <envygeeks@gmail.com> wrote:On Thu, Dec 6, 2012 at 10:20 PM, Sumit SrivastavaBetter context please.
<sumit.theinvincible@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?
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+unsubscribe@googlegroups.com.
--
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+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment