undefined method `geocoded_by' for XXXXXX
Author: giovapanasitiCreated May 17, 2017Updated May 13, 2024
I installed the gem and it works pretty good in the browser. No issues.
When I run the console though I start having problems.
if I try to query my model from the console i get:
NoMethodError: undefined method `geocoded_by' for Tour (call 'Tour.connection' to establish a connection):ClassSource: alexreisner/geocoder