Where Does “– tables()” Come From?
When starting up one of my Rails apps the initial console output looks like this:
=> Booting Mongrel (use ‘script/server webrick’ to force WEBrick)
=> Rails application starting on http://0.0.0.0:3000
=> Call with -d to detach
=> Ctrl-C to shutdown server
** Starting Mongrel listening at 0.0.0.0:3000
** Starting Rails with development environment…
– tables()
-> 0.0576s
** Rails loaded.
** Loading any Rails specific GemPlugins
** Signals ready. TERM => stop. USR2 => restart. INT => stop (no restart).
** Rails signals registered. HUP => reload (without restart). It might not work well.
** Mongrel available at 0.0.0.0:3000
** Use CTRL-C to stop.
Note that little chunk in the middle that shows how long it took to read the table structure from the database:
– tables()
-> 0.0576s
Where the heck does that come from??
Of the three Rails apps I currently have in development that only gets output in one of them. The config and environment files are the same across all three platforms (save for database access credentials) and yet only one of them spits out that data.
It’s really messing up the production server since Apache attempts to jam it into the HTTP header which causes a 500 error, as one might expect.
Anyone know? A plugin? Lesser-known config option? Elves? I am stymied.
Comments Off
