1
When creating tables I used camelcase to create columns, but using Ruby on Rails to generate hash, when relating the two tables appears error message
Code:
@testes = Teste.find_by_sql( " SELECT * FROM tabelax INNER JOIN tabelay on tabelay."Campoy" = tabelax."Campox" " ) render json: @testes
Error message: syntax error, Unexpected tCONSTANT, expecting keyword_end
Thank you very much vnbrs.
– Magic Oz