I am trying to query for user
user = User.("linkedin_accounts.uid" => "16268324").first
but I get this error:
irb):19: syntax error, unexpected tASSOC, expecting $end
user = User.("linkedin_accounts.uid" => "16268324").first
^
from (irb):19
from :0
What does it mean that its expecting end? How is my query wrong?
Thanks!
The syntax you used is wrong. There should be a method after
User.: