When creating tables I used camelcase to create columns, but to use Ruby on Rails to generate hash, listing 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