That query is nothing to worry about. It's just rails running a query to
figure out which tables you have in your database so it can figure out which
columns they have so it can make your models work properly.
In production it should only run once (when the server is first started).
But then
You have the route specified to only accept POST requests, but by using
link_to, you're creating a hyperlink that generates a GET request.
You'll need to either change your routes to accept a GET request, or change
your method of calling the URL to a POST request (from a form).
--
You
Tim Shaffer wrote in post #1023170:
You have the route specified to only accept POST requests, but by using
link_to, you're creating a hyperlink that generates a GET request.
You'll need to either change your routes to accept a GET request, or
change
your method of calling the URL to a POST
3 matches
Mail list logo