push to heroku:
This commit is contained in:
parent
9a221afbb0
commit
c5cbe7128f
|
@ -2,7 +2,10 @@
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ChangeListManager">
|
<component name="ChangeListManager">
|
||||||
<list default="true" id="4563abd9-0b8d-4853-8d0b-b3f103aec2dd" name="Default" comment="">
|
<list default="true" id="4563abd9-0b8d-4853-8d0b-b3f103aec2dd" name="Default" comment="">
|
||||||
<change type="DELETED" beforePath="$PROJECT_DIR$/test.txt" afterPath="" />
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/.idea/workspace.xml" afterPath="$PROJECT_DIR$/.idea/workspace.xml" />
|
||||||
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile" afterPath="$PROJECT_DIR$/Gemfile" />
|
||||||
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/Gemfile.lock" afterPath="$PROJECT_DIR$/Gemfile.lock" />
|
||||||
|
<change type="MODIFICATION" beforePath="$PROJECT_DIR$/log/development.log" afterPath="$PROJECT_DIR$/log/development.log" />
|
||||||
</list>
|
</list>
|
||||||
<ignored path="guoren.iws" />
|
<ignored path="guoren.iws" />
|
||||||
<ignored path=".idea/workspace.xml" />
|
<ignored path=".idea/workspace.xml" />
|
||||||
|
@ -19,19 +22,43 @@
|
||||||
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
||||||
<option name="LAST_RESOLUTION" value="IGNORE" />
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="CoverageDataManager">
|
||||||
|
<SUITE FILE_PATH="coverage/guoren@Development__guoren.coverage" NAME="Development: guoren Coverage Results" MODIFIED="1482408439464" SOURCE_PROVIDER="com.intellij.coverage.DefaultCoverageFileProvider" RUNNER="rcov" COVERAGE_BY_TEST_ENABLED="true" COVERAGE_TRACING_ENABLED="false" WORKING_DIRECTORY="$PROJECT_DIR$" MODULE_NAME="guoren" />
|
||||||
|
</component>
|
||||||
<component name="CreatePatchCommitExecutor">
|
<component name="CreatePatchCommitExecutor">
|
||||||
<option name="PATCH_PATH" value="" />
|
<option name="PATCH_PATH" value="" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="ExecutionTargetManager" SELECTED_TARGET="default_target" />
|
||||||
<component name="FavoritesManager">
|
<component name="FavoritesManager">
|
||||||
<favorites_list name="guoren" />
|
<favorites_list name="guoren" />
|
||||||
</component>
|
</component>
|
||||||
<component name="FileEditorManager">
|
<component name="FileEditorManager">
|
||||||
<leaf>
|
<leaf>
|
||||||
<file leaf-file-name="Gemfile.lock" pinned="false" current-in-tab="true">
|
<file leaf-file-name="Gemfile.lock" pinned="false" current-in-tab="false">
|
||||||
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="147">
|
<state relative-caret-position="440">
|
||||||
<caret line="90" column="13" selection-start-line="90" selection-start-column="12" selection-end-line="90" selection-end-column="13" />
|
<caret line="178" column="0" selection-start-line="178" selection-start-column="0" selection-end-line="178" selection-end-column="0" />
|
||||||
|
<folding />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file leaf-file-name="Gemfile" pinned="false" current-in-tab="true">
|
||||||
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="290">
|
||||||
|
<caret line="46" column="0" selection-start-line="46" selection-start-column="0" selection-end-line="48" selection-end-column="3" />
|
||||||
|
<folding />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
</file>
|
||||||
|
<file leaf-file-name="Gemfile.lock.bak" pinned="false" current-in-tab="false">
|
||||||
|
<entry file="file://$PROJECT_DIR$/Gemfile.lock.bak">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="270">
|
||||||
|
<caret line="18" column="32" selection-start-line="0" selection-start-column="0" selection-end-line="178" selection-end-column="0" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
@ -42,12 +69,27 @@
|
||||||
<component name="Git.Settings">
|
<component name="Git.Settings">
|
||||||
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
||||||
</component>
|
</component>
|
||||||
|
<component name="IdeDocumentHistory">
|
||||||
|
<option name="CHANGED_PATHS">
|
||||||
|
<list>
|
||||||
|
<option value="$PROJECT_DIR$/Gemfile.lock" />
|
||||||
|
<option value="$PROJECT_DIR$/Gemfile" />
|
||||||
|
</list>
|
||||||
|
</option>
|
||||||
|
</component>
|
||||||
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
<component name="JsBuildToolGruntFileManager" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||||
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
<component name="JsBuildToolPackageJson" detection-done="true" sorting="DEFINITION_ORDER" />
|
||||||
<component name="JsGulpfileManager">
|
<component name="JsGulpfileManager">
|
||||||
<detection-done>true</detection-done>
|
<detection-done>true</detection-done>
|
||||||
<sorting>DEFINITION_ORDER</sorting>
|
<sorting>DEFINITION_ORDER</sorting>
|
||||||
</component>
|
</component>
|
||||||
|
<component name="LogFilters">
|
||||||
|
<option name="FILTER_ERRORS" value="false" />
|
||||||
|
<option name="FILTER_WARNINGS" value="false" />
|
||||||
|
<option name="FILTER_INFO" value="true" />
|
||||||
|
<option name="FILTER_DEBUG" value="true" />
|
||||||
|
<option name="CUSTOM_FILTER" />
|
||||||
|
</component>
|
||||||
<component name="ProjectFrameBounds">
|
<component name="ProjectFrameBounds">
|
||||||
<option name="y" value="23" />
|
<option name="y" value="23" />
|
||||||
<option name="width" value="1440" />
|
<option name="width" value="1440" />
|
||||||
|
@ -271,16 +313,16 @@
|
||||||
<option name="number" value="Default" />
|
<option name="number" value="Default" />
|
||||||
<option name="presentableId" value="Default" />
|
<option name="presentableId" value="Default" />
|
||||||
<updated>1482408182630</updated>
|
<updated>1482408182630</updated>
|
||||||
<workItem from="1482408184281" duration="75000" />
|
<workItem from="1482408184281" duration="430000" />
|
||||||
</task>
|
</task>
|
||||||
<servers />
|
<servers />
|
||||||
</component>
|
</component>
|
||||||
<component name="TimeTrackingManager">
|
<component name="TimeTrackingManager">
|
||||||
<option name="totallyTimeSpent" value="75000" />
|
<option name="totallyTimeSpent" value="430000" />
|
||||||
</component>
|
</component>
|
||||||
<component name="ToolWindowManager">
|
<component name="ToolWindowManager">
|
||||||
<frame x="0" y="23" width="1440" height="808" extended-state="6" />
|
<frame x="0" y="23" width="1440" height="808" extended-state="6" />
|
||||||
<editor active="false" />
|
<editor active="true" />
|
||||||
<layout>
|
<layout>
|
||||||
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
<window_info id="Project" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.24964234" sideWeight="0.5" order="0" side_tool="false" content_ui="combo" />
|
||||||
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
<window_info id="TODO" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="6" side_tool="false" content_ui="tabs" />
|
||||||
|
@ -288,18 +330,18 @@
|
||||||
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
<window_info id="Event Log" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||||
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
<window_info id="Database" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
<window_info id="Version Control" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||||
|
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.32884097" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
<window_info id="Structure" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Terminal" active="true" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32884097" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
<window_info id="Terminal" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="true" show_stripe_button="true" weight="0.32884097" sideWeight="0.5" order="-1" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
<window_info id="Favorites" active="false" anchor="left" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="-1" side_tool="true" content_ui="tabs" />
|
||||||
|
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
<window_info id="Cvs" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="4" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
<window_info id="Hierarchy" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="2" side_tool="false" content_ui="combo" />
|
||||||
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
<window_info id="Message" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
<window_info id="Commander" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="0" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
<window_info id="Find" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
<window_info id="Inspection" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="5" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Run" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.33" sideWeight="0.5" order="2" side_tool="false" content_ui="tabs" />
|
|
||||||
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
<window_info id="Ant Build" active="false" anchor="right" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.25" sideWeight="0.5" order="1" side_tool="false" content_ui="tabs" />
|
||||||
<window_info id="Debug" active="false" anchor="bottom" auto_hide="false" internal_type="DOCKED" type="DOCKED" visible="false" show_stripe_button="true" weight="0.4" sideWeight="0.5" order="3" side_tool="false" content_ui="tabs" />
|
|
||||||
</layout>
|
</layout>
|
||||||
</component>
|
</component>
|
||||||
<component name="Vcs.Log.UiProperties">
|
<component name="Vcs.Log.UiProperties">
|
||||||
|
@ -318,10 +360,26 @@
|
||||||
<watches-manager />
|
<watches-manager />
|
||||||
</component>
|
</component>
|
||||||
<component name="editorHistoryManager">
|
<component name="editorHistoryManager">
|
||||||
|
<entry file="file://$PROJECT_DIR$/Gemfile.lock.bak">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="270">
|
||||||
|
<caret line="18" column="32" selection-start-line="0" selection-start-column="0" selection-end-line="178" selection-end-column="0" />
|
||||||
|
<folding />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
<entry file="file://$PROJECT_DIR$/Gemfile.lock">
|
||||||
<provider selected="true" editor-type-id="text-editor">
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
<state relative-caret-position="147">
|
<state relative-caret-position="440">
|
||||||
<caret line="90" column="13" selection-start-line="90" selection-start-column="12" selection-end-line="90" selection-end-column="13" />
|
<caret line="178" column="0" selection-start-line="178" selection-start-column="0" selection-end-line="178" selection-end-column="0" />
|
||||||
|
<folding />
|
||||||
|
</state>
|
||||||
|
</provider>
|
||||||
|
</entry>
|
||||||
|
<entry file="file://$PROJECT_DIR$/Gemfile">
|
||||||
|
<provider selected="true" editor-type-id="text-editor">
|
||||||
|
<state relative-caret-position="290">
|
||||||
|
<caret line="46" column="0" selection-start-line="46" selection-start-column="0" selection-end-line="48" selection-end-column="3" />
|
||||||
<folding />
|
<folding />
|
||||||
</state>
|
</state>
|
||||||
</provider>
|
</provider>
|
||||||
|
|
6
Gemfile
6
Gemfile
|
@ -44,9 +44,9 @@ group :development do
|
||||||
gem 'spring-watcher-listen', '~> 2.0.0'
|
gem 'spring-watcher-listen', '~> 2.0.0'
|
||||||
end
|
end
|
||||||
|
|
||||||
# group :production do
|
group :production do
|
||||||
# gem 'pg','~> 0.18.4'
|
gem 'pg','~> 0.18.4'
|
||||||
# end
|
end
|
||||||
|
|
||||||
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
|
||||||
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
|
||||||
|
|
|
@ -81,6 +81,7 @@ GEM
|
||||||
nio4r (1.2.1)
|
nio4r (1.2.1)
|
||||||
nokogiri (1.6.8.1)
|
nokogiri (1.6.8.1)
|
||||||
mini_portile2 (~> 2.1.0)
|
mini_portile2 (~> 2.1.0)
|
||||||
|
pg (0.18.4)
|
||||||
puma (3.6.2)
|
puma (3.6.2)
|
||||||
rack (2.0.1)
|
rack (2.0.1)
|
||||||
rack-test (0.6.3)
|
rack-test (0.6.3)
|
||||||
|
@ -161,6 +162,7 @@ DEPENDENCIES
|
||||||
jbuilder (~> 2.5)
|
jbuilder (~> 2.5)
|
||||||
jquery-rails
|
jquery-rails
|
||||||
listen (~> 3.0.5)
|
listen (~> 3.0.5)
|
||||||
|
pg (~> 0.18.4)
|
||||||
puma (~> 3.0)
|
puma (~> 3.0)
|
||||||
rails (~> 5.0.0, >= 5.0.0.1)
|
rails (~> 5.0.0, >= 5.0.0.1)
|
||||||
sass-rails (~> 5.0)
|
sass-rails (~> 5.0)
|
||||||
|
|
|
@ -171919,3 +171919,288 @@ Processing by ChatController#notify as JSON
|
||||||
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:21 +0800
|
||||||
|
[1m[36mActiveRecord::SchemaMigration Load (0.2ms)[0m [1m[34mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 43ms (Views: 0.3ms | ActiveRecord: 1.0ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:22 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:31 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/" for 127.0.0.1 at 2016-12-22 20:07:34 +0800
|
||||||
|
Processing by LoginController#init as HTML
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
Redirected to http://localhost:3000/main
|
||||||
|
Completed 302 Found in 7ms (ActiveRecord: 0.1ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/main" for 127.0.0.1 at 2016-12-22 20:07:34 +0800
|
||||||
|
Processing by MainController#show as HTML
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "micro_posts" LIMIT ? OFFSET ?) subquery_for_count[0m [["LIMIT", 20], ["OFFSET", 0]]
|
||||||
|
[1m[36mMicroPost Load (0.2ms)[0m [1m[34mSELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 20], ["OFFSET", 0]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
Rendering main/main.html.erb within layouts/application
|
||||||
|
Rendered layouts/_nav.html.erb (0.4ms)
|
||||||
|
Rendered main/main.html.erb within layouts/application (5.1ms)
|
||||||
|
Rendered layouts/_title.html.erb (0.5ms)
|
||||||
|
Rendered layouts/_refer.html.erb (0.6ms)
|
||||||
|
Completed 200 OK in 44ms (Views: 18.2ms | ActiveRecord: 0.9ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:34 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/main" for 127.0.0.1 at 2016-12-22 20:07:38 +0800
|
||||||
|
Processing by MainController#show as HTML
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "micro_posts" LIMIT ? OFFSET ?) subquery_for_count[0m [["LIMIT", 20], ["OFFSET", 0]]
|
||||||
|
[1m[36mMicroPost Load (0.1ms)[0m [1m[34mSELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 20], ["OFFSET", 0]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
Rendering main/main.html.erb within layouts/application
|
||||||
|
Rendered layouts/_nav.html.erb (0.3ms)
|
||||||
|
Rendered main/main.html.erb within layouts/application (3.1ms)
|
||||||
|
Rendered layouts/_title.html.erb (0.2ms)
|
||||||
|
Rendered layouts/_refer.html.erb (0.5ms)
|
||||||
|
Completed 200 OK in 17ms (Views: 10.9ms | ActiveRecord: 0.4ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:39 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/microposts" for 127.0.0.1 at 2016-12-22 20:07:41 +0800
|
||||||
|
Processing by MicroPostsController#show as HTML
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "micro_posts" WHERE "micro_posts"."user_id" = ?[0m [["user_id", 1]]
|
||||||
|
[1m[36mMicroPost Load (0.1ms)[0m [1m[34mSELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."user_id" = ? ORDER BY "micro_posts"."post_time" DESC[0m [["user_id", 1]]
|
||||||
|
Rendering micro_posts/show.html.erb within layouts/application
|
||||||
|
Rendered layouts/_nav.html.erb (0.7ms)
|
||||||
|
Rendered micro_posts/show.html.erb within layouts/application (4.5ms)
|
||||||
|
Rendered layouts/_title.html.erb (0.5ms)
|
||||||
|
Rendered layouts/_refer.html.erb (0.3ms)
|
||||||
|
Completed 200 OK in 19ms (Views: 13.7ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:41 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:41 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.1ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/chat" for 127.0.0.1 at 2016-12-22 20:07:44 +0800
|
||||||
|
Processing by ChatController#index as HTML
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mMessage Load (0.2ms)[0m [1m[34mSELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", true]]
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
||||||
|
[1m[36mMessage Load (0.2ms)[0m [1m[34mSELECT DISTINCT "messages"."recieve_user" FROM "messages" WHERE "messages"."send_user" = ?[0m [["send_user", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
||||||
|
[1m[36mMessage Load (0.1ms)[0m [1m[34mSELECT DISTINCT "messages"."send_user" FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Rendering chat/index.html.erb within layouts/application
|
||||||
|
Rendered layouts/_nav.html.erb (0.4ms)
|
||||||
|
Rendered chat/index.html.erb within layouts/application (3.0ms)
|
||||||
|
Rendered layouts/_title.html.erb (0.2ms)
|
||||||
|
Rendered layouts/_refer.html.erb (0.4ms)
|
||||||
|
Completed 200 OK in 28ms (Views: 12.3ms | ActiveRecord: 1.0ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:45 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/logout" for 127.0.0.1 at 2016-12-22 20:07:47 +0800
|
||||||
|
Processing by LoginController#logout as HTML
|
||||||
|
Redirected to http://localhost:3000/login
|
||||||
|
Completed 302 Found in 1ms (ActiveRecord: 0.0ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/login" for 127.0.0.1 at 2016-12-22 20:07:47 +0800
|
||||||
|
Processing by LoginController#init as HTML
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT ?[0m [["LIMIT", 1]]
|
||||||
|
Rendering login/init.html.erb within layouts/application
|
||||||
|
Rendered login/init.html.erb within layouts/application (1.5ms)
|
||||||
|
Rendered layouts/_title.html.erb (0.4ms)
|
||||||
|
Rendered layouts/_refer.html.erb (0.4ms)
|
||||||
|
Completed 200 OK in 11ms (Views: 9.8ms | ActiveRecord: 0.1ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:07:51 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.3ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/comments?micropost_id=4" for 127.0.0.1 at 2016-12-22 20:07:52 +0800
|
||||||
|
Processing by CommentsController#get as JSON
|
||||||
|
Parameters: {"micropost_id"=>"4"}
|
||||||
|
[1m[36mMicroPost Load (0.2ms)[0m [1m[34mSELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ?[0m [["id", 4], ["LIMIT", 1]]
|
||||||
|
[1m[36mComment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "comments" WHERE "comments"."micro_post_id" = ? LIMIT ?[0m [["micro_post_id", 4], ["LIMIT", 1]]
|
||||||
|
[1m[36mComment Load (0.1ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ?[0m [["micro_post_id", 4]]
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
Completed 200 OK in 25ms (Views: 0.3ms | ActiveRecord: 0.9ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/comments?micropost_id=5" for 127.0.0.1 at 2016-12-22 20:07:55 +0800
|
||||||
|
Processing by CommentsController#get as JSON
|
||||||
|
Parameters: {"micropost_id"=>"5"}
|
||||||
|
[1m[36mMicroPost Load (0.1ms)[0m [1m[34mSELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
||||||
|
[1m[36mComment Exists (0.2ms)[0m [1m[34mSELECT 1 AS one FROM "comments" WHERE "comments"."micro_post_id" = ? LIMIT ?[0m [["micro_post_id", 5], ["LIMIT", 1]]
|
||||||
|
[1m[36mComment Load (0.1ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ?[0m [["micro_post_id", 5]]
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/comments?micropost_id=5" for 127.0.0.1 at 2016-12-22 20:07:56 +0800
|
||||||
|
Processing by CommentsController#get as JSON
|
||||||
|
Parameters: {"micropost_id"=>"5"}
|
||||||
|
[1m[36mMicroPost Load (0.2ms)[0m [1m[34mSELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
||||||
|
[1m[36mComment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "comments" WHERE "comments"."micro_post_id" = ? LIMIT ?[0m [["micro_post_id", 5], ["LIMIT", 1]]
|
||||||
|
[1m[36mComment Load (0.1ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ?[0m [["micro_post_id", 5]]
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
Completed 200 OK in 5ms (Views: 0.2ms | ActiveRecord: 0.6ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:08:01 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/" for 127.0.0.1 at 2016-12-22 20:08:06 +0800
|
||||||
|
Processing by LoginController#init as HTML
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" IS NULL LIMIT ?[0m [["LIMIT", 1]]
|
||||||
|
Rendering login/init.html.erb within layouts/application
|
||||||
|
Rendered login/init.html.erb within layouts/application (1.0ms)
|
||||||
|
Rendered layouts/_title.html.erb (0.3ms)
|
||||||
|
Rendered layouts/_refer.html.erb (0.5ms)
|
||||||
|
Completed 200 OK in 9ms (Views: 8.4ms | ActiveRecord: 0.1ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started POST "/login?method=post" for 127.0.0.1 at 2016-12-22 20:08:15 +0800
|
||||||
|
Processing by LoginController#login as HTML
|
||||||
|
Parameters: {"utf8"=>"✓", "authenticity_token"=>"T81+EmjZeu9W8A1Hukn6O5y3AFgGGhL4eFmknQrqBksHmkXJE06xruCVzsngOGOL4MOFPPWzDItfoYIcVDrijg==", "email"=>"zhangyu@163.com", "password"=>"[FILTERED]", "method"=>"post"}
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."email" = ? LIMIT ?[0m [["email", "zhangyu@163.com"], ["LIMIT", 1]]
|
||||||
|
Redirected to http://localhost:3000/main
|
||||||
|
Completed 302 Found in 68ms (ActiveRecord: 0.1ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/main" for 127.0.0.1 at 2016-12-22 20:08:15 +0800
|
||||||
|
Processing by MainController#show as HTML
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(count_column) FROM (SELECT 1 AS count_column FROM "micro_posts" LIMIT ? OFFSET ?) subquery_for_count[0m [["LIMIT", 20], ["OFFSET", 0]]
|
||||||
|
[1m[36mMicroPost Load (0.2ms)[0m [1m[34mSELECT "micro_posts".* FROM "micro_posts" ORDER BY "micro_posts"."post_time" DESC LIMIT ? OFFSET ?[0m [["LIMIT", 20], ["OFFSET", 0]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mUser Load (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 2], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[36mCACHE (0.0ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
Rendering main/main.html.erb within layouts/application
|
||||||
|
Rendered layouts/_nav.html.erb (0.3ms)
|
||||||
|
Rendered main/main.html.erb within layouts/application (2.5ms)
|
||||||
|
Rendered layouts/_title.html.erb (0.2ms)
|
||||||
|
Rendered layouts/_refer.html.erb (0.3ms)
|
||||||
|
Completed 200 OK in 14ms (Views: 9.3ms | ActiveRecord: 0.4ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:08:15 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 2ms (Views: 0.1ms | ActiveRecord: 0.2ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/comments?micropost_id=5" for 127.0.0.1 at 2016-12-22 20:08:17 +0800
|
||||||
|
Processing by CommentsController#get as JSON
|
||||||
|
Parameters: {"micropost_id"=>"5"}
|
||||||
|
[1m[36mMicroPost Load (0.1ms)[0m [1m[34mSELECT "micro_posts".* FROM "micro_posts" WHERE "micro_posts"."id" = ? LIMIT ?[0m [["id", 5], ["LIMIT", 1]]
|
||||||
|
[1m[36mComment Exists (0.1ms)[0m [1m[34mSELECT 1 AS one FROM "comments" WHERE "comments"."micro_post_id" = ? LIMIT ?[0m [["micro_post_id", 5], ["LIMIT", 1]]
|
||||||
|
[1m[36mComment Load (0.1ms)[0m [1m[34mSELECT "comments".* FROM "comments" WHERE "comments"."micro_post_id" = ?[0m [["micro_post_id", 5]]
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
Completed 200 OK in 4ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:08:26 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:08:36 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:08:46 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.1ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 2ms (Views: 0.2ms | ActiveRecord: 0.2ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:08:56 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:09:06 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.2ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.4ms)
|
||||||
|
|
||||||
|
|
||||||
|
Started GET "/notify" for 127.0.0.1 at 2016-12-22 20:09:16 +0800
|
||||||
|
Processing by ChatController#notify as JSON
|
||||||
|
[1m[36mUser Load (0.2ms)[0m [1m[34mSELECT "users".* FROM "users" WHERE "users"."id" = ? LIMIT ?[0m [["id", 1], ["LIMIT", 1]]
|
||||||
|
[1m[35m (0.1ms)[0m [1m[34mSELECT COUNT(*) FROM "messages" WHERE "messages"."recieve_user" = ? AND "messages"."readed" = ?[0m [["recieve_user", 1], ["readed", false]]
|
||||||
|
Completed 200 OK in 3ms (Views: 0.2ms | ActiveRecord: 0.3ms)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue