mysql - Starting Webrick inserts database record -
a strange scenario i've not come across before. when start webrick using rails s
, new database record inserted model called absencecategory
. output terminal is:
=> booting webrick => rails 4.2.0 application starting in development on http://localhost:3000 => run `rails server -h` more startup options => ctrl-c shutdown server [2015-04-01 08:05:24] info webrick 1.3.1 [2015-04-01 08:05:24] info ruby 2.0.0 (2014-11-13) [x86_64- darwin14.0.0] [2015-04-01 08:05:24] info webrick::httpserver#start: pid=81005 port=3000
development.log shows following:
[1m[36m (0.2ms)[0m [1mbegin[0m [1m[35msql (0.3ms)[0m insert `absence_categories` (`description`, `created_at`, `updated_at`) values ('annual leave', '2015-04-01 07:07:03.369454', '2015-04-01 07:07:03.369454') [1m[36m (0.4ms)[0m [1mcommit[0m
before drop table, delete model files , recreate everything, thought i'd see if has insight why might happening or can try , track down why.
Comments
Post a Comment