<https://lh3.googleusercontent.com/-HxosViCEKP0/UFube_sMzeI/AAAAAAAAAZ8/UtVTCiWO7AQ/s1600/how+to+join.png>
*When I use*
> Post.where(:debate_id => view, :nodeview => 'status', :floor =>
> 0).join(:votes, :id=>:nodeview_id).join(:votes, :debate_id)
>
I get this error.
> SQLite3::SQLException: ambiguous column name: debate_id
*When I use *
> @approval = Vote.where(:nodeview => 'debate', :content =>
> 'accept').join(:debates, :id=>:nodeview_id)
>
I have #{@approval[:content]} coming up blank, and #{@approval[:id]} being
ambiguous.
Please help!
<https://lh3.googleusercontent.com/-HxosViCEKP0/UFube_sMzeI/AAAAAAAAAZ8/UtVTCiWO7AQ/s1600/how+to+join.png>
--
You received this message because you are subscribed to the Google Groups
"sequel-talk" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/sequel-talk/-/30-WTP1ABVoJ.
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/sequel-talk?hl=en.