active_mocker 1.2.pre → 1.2.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/active_mocker/version.rb +1 -1
- data/sample_app_rails_4/.idea/.generators +8 -0
- data/sample_app_rails_4/.idea/.name +1 -0
- data/sample_app_rails_4/.idea/.rakeTasks +7 -0
- data/sample_app_rails_4/.idea/dataSources.ids +141 -0
- data/sample_app_rails_4/.idea/dataSources.xml +36 -0
- data/sample_app_rails_4/.idea/dictionaries/zeisler.xml +3 -0
- data/sample_app_rails_4/.idea/encodings.xml +5 -0
- data/sample_app_rails_4/.idea/inspectionProfiles/Project_Default.xml +20 -0
- data/sample_app_rails_4/.idea/inspectionProfiles/profiles_settings.xml +7 -0
- data/sample_app_rails_4/.idea/misc.xml +5 -0
- data/sample_app_rails_4/.idea/modules.xml +10 -0
- data/sample_app_rails_4/.idea/runConfigurations/Development__sample_app_rails_4.xml +28 -0
- data/sample_app_rails_4/.idea/runConfigurations/Production__sample_app_rails_4.xml +28 -0
- data/sample_app_rails_4/.idea/runConfigurations/spec__sample_app_rails_4.xml +26 -0
- data/sample_app_rails_4/.idea/runConfigurations/test__sample_app_rails_4.xml +28 -0
- data/sample_app_rails_4/.idea/sample_app_rails_4.iml +262 -0
- data/sample_app_rails_4/.idea/scopes/scope_settings.xml +5 -0
- data/sample_app_rails_4/.idea/vcs.xml +7 -0
- data/sample_app_rails_4/.idea/workspace.xml +969 -0
- data/sample_app_rails_4/.rspec +1 -0
- data/sample_app_rails_4/.secret +1 -0
- data/sample_app_rails_4/Gemfile +53 -0
- data/sample_app_rails_4/Guardfile +53 -0
- data/sample_app_rails_4/LICENSE +21 -0
- data/sample_app_rails_4/README.md +25 -0
- data/sample_app_rails_4/README.nitrous.md +20 -0
- data/sample_app_rails_4/Rakefile +6 -0
- data/sample_app_rails_4/app/assets/images/rails.png +0 -0
- data/sample_app_rails_4/app/assets/javascripts/application.js +17 -0
- data/sample_app_rails_4/app/assets/javascripts/sessions.js.coffee +3 -0
- data/sample_app_rails_4/app/assets/javascripts/static_pages.js.coffee +3 -0
- data/sample_app_rails_4/app/assets/javascripts/users.js.coffee +3 -0
- data/sample_app_rails_4/app/assets/stylesheets/application.css +13 -0
- data/sample_app_rails_4/app/assets/stylesheets/custom.css.scss +246 -0
- data/sample_app_rails_4/app/assets/stylesheets/sessions.css.scss +3 -0
- data/sample_app_rails_4/app/assets/stylesheets/static_pages.css.scss +3 -0
- data/sample_app_rails_4/app/assets/stylesheets/users.css.scss +3 -0
- data/sample_app_rails_4/app/controllers/application_controller.rb +6 -0
- data/sample_app_rails_4/app/controllers/concerns/.keep +0 -0
- data/sample_app_rails_4/app/controllers/microposts_controller.rb +31 -0
- data/sample_app_rails_4/app/controllers/relationships_controller.rb +21 -0
- data/sample_app_rails_4/app/controllers/sessions_controller.rb +21 -0
- data/sample_app_rails_4/app/controllers/static_pages_controller.rb +18 -0
- data/sample_app_rails_4/app/controllers/users_controller.rb +80 -0
- data/sample_app_rails_4/app/helpers/application_helper.rb +12 -0
- data/sample_app_rails_4/app/helpers/sessions_helper.rb +49 -0
- data/sample_app_rails_4/app/helpers/static_pages_helper.rb +2 -0
- data/sample_app_rails_4/app/helpers/users_helper.rb +10 -0
- data/sample_app_rails_4/app/mailers/.keep +0 -0
- data/sample_app_rails_4/app/models/.keep +0 -0
- data/sample_app_rails_4/app/models/concerns/.keep +0 -0
- data/sample_app_rails_4/app/models/micropost.rb +14 -0
- data/sample_app_rails_4/app/models/relationship.rb +6 -0
- data/sample_app_rails_4/app/models/user.rb +47 -0
- data/sample_app_rails_4/app/views/layouts/_footer.html.erb +13 -0
- data/sample_app_rails_4/app/views/layouts/_header.html.erb +31 -0
- data/sample_app_rails_4/app/views/layouts/_shim.html.erb +3 -0
- data/sample_app_rails_4/app/views/layouts/application.html.erb +22 -0
- data/sample_app_rails_4/app/views/microposts/_micropost.html.erb +11 -0
- data/sample_app_rails_4/app/views/relationships/create.js.erb +2 -0
- data/sample_app_rails_4/app/views/relationships/destroy.js.erb +2 -0
- data/sample_app_rails_4/app/views/sessions/new.html.erb +19 -0
- data/sample_app_rails_4/app/views/shared/_error_messages.html.erb +12 -0
- data/sample_app_rails_4/app/views/shared/_feed.html.erb +6 -0
- data/sample_app_rails_4/app/views/shared/_feed_item.html.erb +15 -0
- data/sample_app_rails_4/app/views/shared/_micropost_form.html.erb +7 -0
- data/sample_app_rails_4/app/views/shared/_stats.html.erb +15 -0
- data/sample_app_rails_4/app/views/shared/_user_info.html.erb +12 -0
- data/sample_app_rails_4/app/views/static_pages/about.html.erb +8 -0
- data/sample_app_rails_4/app/views/static_pages/contact.html.erb +6 -0
- data/sample_app_rails_4/app/views/static_pages/help.html.erb +8 -0
- data/sample_app_rails_4/app/views/static_pages/home.html.erb +34 -0
- data/sample_app_rails_4/app/views/static_pages/show.html.erb +0 -0
- data/sample_app_rails_4/app/views/users/_follow.html.erb +5 -0
- data/sample_app_rails_4/app/views/users/_follow_form.html.erb +9 -0
- data/sample_app_rails_4/app/views/users/_unfollow.html.erb +5 -0
- data/sample_app_rails_4/app/views/users/_user.html.erb +8 -0
- data/sample_app_rails_4/app/views/users/edit.html.erb +27 -0
- data/sample_app_rails_4/app/views/users/index.html.erb +10 -0
- data/sample_app_rails_4/app/views/users/new.html.erb +24 -0
- data/sample_app_rails_4/app/views/users/show.html.erb +24 -0
- data/sample_app_rails_4/app/views/users/show_follow.html.erb +30 -0
- data/sample_app_rails_4/bin/bundle +3 -0
- data/sample_app_rails_4/bin/rails +4 -0
- data/sample_app_rails_4/bin/rake +4 -0
- data/sample_app_rails_4/config.ru +4 -0
- data/sample_app_rails_4/config/application.rb +31 -0
- data/sample_app_rails_4/config/boot.rb +4 -0
- data/sample_app_rails_4/config/cucumber.yml +8 -0
- data/sample_app_rails_4/config/database.yml +28 -0
- data/sample_app_rails_4/config/environment.rb +5 -0
- data/sample_app_rails_4/config/environments/development.rb +27 -0
- data/sample_app_rails_4/config/environments/production.rb +79 -0
- data/sample_app_rails_4/config/environments/test.rb +39 -0
- data/sample_app_rails_4/config/initializers/active_mocker.rb +10 -0
- data/sample_app_rails_4/config/initializers/backtrace_silencers.rb +7 -0
- data/sample_app_rails_4/config/initializers/filter_parameter_logging.rb +4 -0
- data/sample_app_rails_4/config/initializers/inflections.rb +16 -0
- data/sample_app_rails_4/config/initializers/mime_types.rb +5 -0
- data/sample_app_rails_4/config/initializers/secret_token.rb +22 -0
- data/sample_app_rails_4/config/initializers/session_store.rb +3 -0
- data/sample_app_rails_4/config/initializers/wrap_parameters.rb +14 -0
- data/sample_app_rails_4/config/locales/en.yml +23 -0
- data/sample_app_rails_4/config/routes.rb +17 -0
- data/sample_app_rails_4/db/development.sqlite3 +0 -0
- data/sample_app_rails_4/db/migrate/20130311191400_create_users.rb +10 -0
- data/sample_app_rails_4/db/migrate/20130311194153_add_index_to_users_email.rb +5 -0
- data/sample_app_rails_4/db/migrate/20130311201841_add_password_digest_to_users.rb +5 -0
- data/sample_app_rails_4/db/migrate/20130314184954_add_remember_token_to_users.rb +6 -0
- data/sample_app_rails_4/db/migrate/20130315015932_add_admin_to_users.rb +5 -0
- data/sample_app_rails_4/db/migrate/20130315175534_create_microposts.rb +11 -0
- data/sample_app_rails_4/db/migrate/20130315230445_create_relationships.rb +13 -0
- data/sample_app_rails_4/db/schema.rb +49 -0
- data/sample_app_rails_4/db/seeds.rb +7 -0
- data/sample_app_rails_4/db/test.sqlite3 +0 -0
- data/sample_app_rails_4/features/signing_in.feature +13 -0
- data/sample_app_rails_4/features/step_definitions/authentication_steps.rb +30 -0
- data/sample_app_rails_4/features/support/env.rb +59 -0
- data/sample_app_rails_4/lib/assets/.keep +0 -0
- data/sample_app_rails_4/lib/tasks/.keep +0 -0
- data/sample_app_rails_4/lib/tasks/cucumber.rake +65 -0
- data/sample_app_rails_4/lib/tasks/mocks.rake +10 -0
- data/sample_app_rails_4/lib/tasks/sample_data.rake +42 -0
- data/sample_app_rails_4/log/.keep +0 -0
- data/sample_app_rails_4/log/development.log +603 -0
- data/sample_app_rails_4/log/test.log +6727 -0
- data/sample_app_rails_4/public/404.html +27 -0
- data/sample_app_rails_4/public/422.html +26 -0
- data/sample_app_rails_4/public/500.html +26 -0
- data/sample_app_rails_4/public/assets/application-4962059d8f80f9bb096692bacc29c4e8.css +5091 -0
- data/sample_app_rails_4/public/assets/application-4962059d8f80f9bb096692bacc29c4e8.css.gz +0 -0
- data/sample_app_rails_4/public/assets/application-eeb856e3fe2c8f879c91d0e81d59cb40.js +12952 -0
- data/sample_app_rails_4/public/assets/application-eeb856e3fe2c8f879c91d0e81d59cb40.js.gz +0 -0
- data/sample_app_rails_4/public/assets/glyphicons-halflings-c806376f05e4ccabe2c5315a8e95667c.png +0 -0
- data/sample_app_rails_4/public/assets/glyphicons-halflings-white-62b67d9edee3db90d18833087f848d6e.png +0 -0
- data/sample_app_rails_4/public/assets/manifest-802de9eb1c853769101852422b620883.json +1 -0
- data/sample_app_rails_4/public/assets/rails-231a680f23887d9dd70710ea5efd3c62.png +0 -0
- data/sample_app_rails_4/public/favicon.ico +0 -0
- data/sample_app_rails_4/public/robots.txt +5 -0
- data/sample_app_rails_4/script/cucumber +10 -0
- data/sample_app_rails_4/spec/controllers/relationships_controller_spec.rb +42 -0
- data/sample_app_rails_4/spec/factories.rb +17 -0
- data/sample_app_rails_4/spec/helpers/application_helper_spec.rb +18 -0
- data/sample_app_rails_4/spec/models/micropost_spec.rb +30 -0
- data/sample_app_rails_4/spec/models/relationship_spec.rb +29 -0
- data/sample_app_rails_4/spec/models/user_spec.rb +194 -0
- data/sample_app_rails_4/spec/spec_helper.rb +49 -0
- data/sample_app_rails_4/spec/support/utilities.rb +21 -0
- data/sample_app_rails_4/vendor/assets/javascripts/.keep +0 -0
- data/sample_app_rails_4/vendor/assets/stylesheets/.keep +0 -0
- metadata +151 -1
@@ -0,0 +1,59 @@
|
|
1
|
+
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
|
2
|
+
# It is recommended to regenerate this file in the future when you upgrade to a
|
3
|
+
# newer version of cucumber-rails. Consider adding your own code to a new file
|
4
|
+
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
|
5
|
+
# files.
|
6
|
+
|
7
|
+
require 'cucumber/rails'
|
8
|
+
|
9
|
+
# Capybara defaults to XPath selectors rather than Webrat's default of CSS3. In
|
10
|
+
# order to ease the transition to Capybara we set the default here. If you'd
|
11
|
+
# prefer to use XPath just remove this line and adjust any selectors in your
|
12
|
+
# steps to use the XPath syntax.
|
13
|
+
Capybara.default_selector = :css
|
14
|
+
|
15
|
+
# By default, any exception happening in your Rails application will bubble up
|
16
|
+
# to Cucumber so that your scenario will fail. This is a different from how
|
17
|
+
# your application behaves in the production environment, where an error page will
|
18
|
+
# be rendered instead.
|
19
|
+
#
|
20
|
+
# Sometimes we want to override this default behaviour and allow Rails to rescue
|
21
|
+
# exceptions and display an error page (just like when the app is running in production).
|
22
|
+
# Typical scenarios where you want to do this is when you test your error pages.
|
23
|
+
# There are two ways to allow Rails to rescue exceptions:
|
24
|
+
#
|
25
|
+
# 1) Tag your scenario (or feature) with @allow-rescue
|
26
|
+
#
|
27
|
+
# 2) Set the value below to true. Beware that doing this globally is not
|
28
|
+
# recommended as it will mask a lot of errors for you!
|
29
|
+
#
|
30
|
+
ActionController::Base.allow_rescue = false
|
31
|
+
|
32
|
+
# Remove/comment out the lines below if your app doesn't have a database.
|
33
|
+
# For some databases (like MongoDB and CouchDB) you may need to use :truncation instead.
|
34
|
+
begin
|
35
|
+
DatabaseCleaner.strategy = :transaction
|
36
|
+
rescue NameError
|
37
|
+
raise "You need to add database_cleaner to your Gemfile (in the :test group) if you wish to use it."
|
38
|
+
end
|
39
|
+
|
40
|
+
# You may also want to configure DatabaseCleaner to use different strategies for certain features and scenarios.
|
41
|
+
# See the DatabaseCleaner documentation for details. Example:
|
42
|
+
#
|
43
|
+
# Before('@no-txn,@selenium,@culerity,@celerity,@javascript') do
|
44
|
+
# # { :except => [:widgets] } may not do what you expect here
|
45
|
+
# # as tCucumber::Rails::Database.javascript_strategy overrides
|
46
|
+
# # this setting.
|
47
|
+
# DatabaseCleaner.strategy = :truncation
|
48
|
+
# end
|
49
|
+
#
|
50
|
+
# Before('~@no-txn', '~@selenium', '~@culerity', '~@celerity', '~@javascript') do
|
51
|
+
# DatabaseCleaner.strategy = :transaction
|
52
|
+
# end
|
53
|
+
#
|
54
|
+
|
55
|
+
# Possible values are :truncation and :transaction
|
56
|
+
# The :transaction strategy is faster, but might give you threading problems.
|
57
|
+
# See https://github.com/cucumber/cucumber-rails/blob/master/features/choose_javascript_database_strategy.feature
|
58
|
+
Cucumber::Rails::Database.javascript_strategy = :truncation
|
59
|
+
|
File without changes
|
File without changes
|
@@ -0,0 +1,65 @@
|
|
1
|
+
# IMPORTANT: This file is generated by cucumber-rails - edit at your own peril.
|
2
|
+
# It is recommended to regenerate this file in the future when you upgrade to a
|
3
|
+
# newer version of cucumber-rails. Consider adding your own code to a new file
|
4
|
+
# instead of editing this one. Cucumber will automatically load all features/**/*.rb
|
5
|
+
# files.
|
6
|
+
|
7
|
+
|
8
|
+
unless ARGV.any? {|a| a =~ /^gems/} # Don't load anything when running the gems:* tasks
|
9
|
+
|
10
|
+
vendored_cucumber_bin = Dir["#{Rails.root}/vendor/{gems,plugins}/cucumber*/bin/cucumber"].first
|
11
|
+
$LOAD_PATH.unshift(File.dirname(vendored_cucumber_bin) + '/../lib') unless vendored_cucumber_bin.nil?
|
12
|
+
|
13
|
+
begin
|
14
|
+
require 'cucumber/rake/task'
|
15
|
+
|
16
|
+
namespace :cucumber do
|
17
|
+
Cucumber::Rake::Task.new({:ok => 'db:test:prepare'}, 'Run features that should pass') do |t|
|
18
|
+
t.binary = vendored_cucumber_bin # If nil, the gem's binary is used.
|
19
|
+
t.fork = true # You may get faster startup if you set this to false
|
20
|
+
t.profile = 'default'
|
21
|
+
end
|
22
|
+
|
23
|
+
Cucumber::Rake::Task.new({:wip => 'db:test:prepare'}, 'Run features that are being worked on') do |t|
|
24
|
+
t.binary = vendored_cucumber_bin
|
25
|
+
t.fork = true # You may get faster startup if you set this to false
|
26
|
+
t.profile = 'wip'
|
27
|
+
end
|
28
|
+
|
29
|
+
Cucumber::Rake::Task.new({:rerun => 'db:test:prepare'}, 'Record failing features and run only them if any exist') do |t|
|
30
|
+
t.binary = vendored_cucumber_bin
|
31
|
+
t.fork = true # You may get faster startup if you set this to false
|
32
|
+
t.profile = 'rerun'
|
33
|
+
end
|
34
|
+
|
35
|
+
desc 'Run all features'
|
36
|
+
task :all => [:ok, :wip]
|
37
|
+
|
38
|
+
task :statsetup do
|
39
|
+
require 'rails/code_statistics'
|
40
|
+
::STATS_DIRECTORIES << %w(Cucumber\ features features) if File.exist?('features')
|
41
|
+
::CodeStatistics::TEST_TYPES << "Cucumber features" if File.exist?('features')
|
42
|
+
end
|
43
|
+
end
|
44
|
+
desc 'Alias for cucumber:ok'
|
45
|
+
task :cucumber => 'cucumber:ok'
|
46
|
+
|
47
|
+
task :default => :cucumber
|
48
|
+
|
49
|
+
task :features => :cucumber do
|
50
|
+
STDERR.puts "*** The 'features' task is deprecated. See rake -T cucumber ***"
|
51
|
+
end
|
52
|
+
|
53
|
+
# In case we don't have ActiveRecord, append a no-op task that we can depend upon.
|
54
|
+
task 'db:test:prepare' do
|
55
|
+
end
|
56
|
+
|
57
|
+
task :stats => 'cucumber:statsetup'
|
58
|
+
rescue LoadError
|
59
|
+
desc 'cucumber rake task not available (cucumber not installed)'
|
60
|
+
task :cucumber do
|
61
|
+
abort 'Cucumber rake task is not available. Be sure to install cucumber as a gem or plugin'
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
@@ -0,0 +1,42 @@
|
|
1
|
+
namespace :db do
|
2
|
+
desc "Fill database with sample data"
|
3
|
+
task populate: :environment do
|
4
|
+
make_users
|
5
|
+
make_microposts
|
6
|
+
make_relationships
|
7
|
+
end
|
8
|
+
end
|
9
|
+
|
10
|
+
def make_users
|
11
|
+
admin = User.create!(name: "Example User",
|
12
|
+
email: "example@railstutorial.org",
|
13
|
+
password: "foobar",
|
14
|
+
password_confirmation: "foobar",
|
15
|
+
admin: true)
|
16
|
+
99.times do |n|
|
17
|
+
name = Faker::Name.name
|
18
|
+
email = "example-#{n+1}@railstutorial.org"
|
19
|
+
password = "password"
|
20
|
+
User.create!(name: name,
|
21
|
+
email: email,
|
22
|
+
password: password,
|
23
|
+
password_confirmation: password)
|
24
|
+
end
|
25
|
+
end
|
26
|
+
|
27
|
+
def make_microposts
|
28
|
+
users = User.all(limit: 6)
|
29
|
+
50.times do
|
30
|
+
content = Faker::Lorem.sentence(5)
|
31
|
+
users.each { |user| user.microposts.create!(content: content) }
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
def make_relationships
|
36
|
+
users = User.all
|
37
|
+
user = users.first
|
38
|
+
followed_users = users[2..50]
|
39
|
+
followers = users[3..40]
|
40
|
+
followed_users.each { |followed| user.follow!(followed) }
|
41
|
+
followers.each { |follower| follower.follow!(user) }
|
42
|
+
end
|
File without changes
|
@@ -0,0 +1,603 @@
|
|
1
|
+
[1m[36m (0.9ms)[0m [1mCREATE TABLE "microposts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "content" varchar(255), "user_id" integer, "created_at" datetime, "updated_at" datetime) [0m
|
2
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
3
|
+
[1m[36m (0.7ms)[0m [1mCREATE INDEX "index_microposts_on_user_id_and_created_at" ON "microposts" ("user_id", "created_at")[0m
|
4
|
+
[1m[35m (0.9ms)[0m CREATE TABLE "relationships" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "follower_id" integer, "followed_id" integer, "created_at" datetime, "updated_at" datetime)
|
5
|
+
[1m[36m (0.5ms)[0m [1mCREATE INDEX "index_relationships_on_followed_id" ON "relationships" ("followed_id")[0m
|
6
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
7
|
+
FROM sqlite_master
|
8
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
9
|
+
UNION ALL
|
10
|
+
SELECT sql
|
11
|
+
FROM sqlite_temp_master
|
12
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
13
|
+
|
14
|
+
[1m[36m (0.5ms)[0m [1mCREATE UNIQUE INDEX "index_relationships_on_follower_id_and_followed_id" ON "relationships" ("follower_id", "followed_id")[0m
|
15
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
16
|
+
FROM sqlite_master
|
17
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
18
|
+
UNION ALL
|
19
|
+
SELECT sql
|
20
|
+
FROM sqlite_temp_master
|
21
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
22
|
+
|
23
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
24
|
+
FROM sqlite_master
|
25
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
26
|
+
UNION ALL
|
27
|
+
SELECT sql
|
28
|
+
FROM sqlite_temp_master
|
29
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
30
|
+
[0m
|
31
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_relationships_on_follower_id" ON "relationships" ("follower_id")
|
32
|
+
[1m[36m (0.5ms)[0m [1mCREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255), "email" varchar(255), "created_at" datetime, "updated_at" datetime, "password_digest" varchar(255), "remember_token" varchar(255), "admin" boolean) [0m
|
33
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "index_users_on_email" ON "users" ("email")
|
34
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
35
|
+
FROM sqlite_master
|
36
|
+
WHERE name='index_users_on_email' AND type='index'
|
37
|
+
UNION ALL
|
38
|
+
SELECT sql
|
39
|
+
FROM sqlite_temp_master
|
40
|
+
WHERE name='index_users_on_email' AND type='index'
|
41
|
+
[0m
|
42
|
+
[1m[35m (0.5ms)[0m CREATE INDEX "index_users_on_remember_token" ON "users" ("remember_token")
|
43
|
+
[1m[36m (0.6ms)[0m [1mCREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) [0m
|
44
|
+
[1m[35m (0.5ms)[0m CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
|
45
|
+
[1m[36m (0.1ms)[0m [1mSELECT version FROM "schema_migrations"[0m
|
46
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130315230445')
|
47
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130311191400')[0m
|
48
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130311194153')
|
49
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130311201841')[0m
|
50
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130314184954')
|
51
|
+
[1m[36m (0.5ms)[0m [1mINSERT INTO "schema_migrations" (version) VALUES ('20130315015932')[0m
|
52
|
+
[1m[35m (0.5ms)[0m INSERT INTO "schema_migrations" (version) VALUES ('20130315175534')
|
53
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
54
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
55
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
56
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
57
|
+
FROM sqlite_master
|
58
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
59
|
+
UNION ALL
|
60
|
+
SELECT sql
|
61
|
+
FROM sqlite_temp_master
|
62
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
63
|
+
[0m
|
64
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
65
|
+
FROM sqlite_master
|
66
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
67
|
+
UNION ALL
|
68
|
+
SELECT sql
|
69
|
+
FROM sqlite_temp_master
|
70
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
71
|
+
|
72
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
73
|
+
FROM sqlite_master
|
74
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
75
|
+
UNION ALL
|
76
|
+
SELECT sql
|
77
|
+
FROM sqlite_temp_master
|
78
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
79
|
+
[0m
|
80
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
81
|
+
FROM sqlite_master
|
82
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
83
|
+
UNION ALL
|
84
|
+
SELECT sql
|
85
|
+
FROM sqlite_temp_master
|
86
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
87
|
+
|
88
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
89
|
+
FROM sqlite_master
|
90
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
91
|
+
UNION ALL
|
92
|
+
SELECT sql
|
93
|
+
FROM sqlite_temp_master
|
94
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
95
|
+
[0m
|
96
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
97
|
+
FROM sqlite_master
|
98
|
+
WHERE name='index_users_on_email' AND type='index'
|
99
|
+
UNION ALL
|
100
|
+
SELECT sql
|
101
|
+
FROM sqlite_temp_master
|
102
|
+
WHERE name='index_users_on_email' AND type='index'
|
103
|
+
|
104
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
105
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
106
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
107
|
+
FROM sqlite_master
|
108
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
109
|
+
UNION ALL
|
110
|
+
SELECT sql
|
111
|
+
FROM sqlite_temp_master
|
112
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
113
|
+
[0m
|
114
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
115
|
+
FROM sqlite_master
|
116
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
117
|
+
UNION ALL
|
118
|
+
SELECT sql
|
119
|
+
FROM sqlite_temp_master
|
120
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
121
|
+
|
122
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
123
|
+
FROM sqlite_master
|
124
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
125
|
+
UNION ALL
|
126
|
+
SELECT sql
|
127
|
+
FROM sqlite_temp_master
|
128
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
129
|
+
[0m
|
130
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
131
|
+
FROM sqlite_master
|
132
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
133
|
+
UNION ALL
|
134
|
+
SELECT sql
|
135
|
+
FROM sqlite_temp_master
|
136
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
137
|
+
|
138
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
139
|
+
FROM sqlite_master
|
140
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
141
|
+
UNION ALL
|
142
|
+
SELECT sql
|
143
|
+
FROM sqlite_temp_master
|
144
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
145
|
+
[0m
|
146
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
147
|
+
FROM sqlite_master
|
148
|
+
WHERE name='index_users_on_email' AND type='index'
|
149
|
+
UNION ALL
|
150
|
+
SELECT sql
|
151
|
+
FROM sqlite_temp_master
|
152
|
+
WHERE name='index_users_on_email' AND type='index'
|
153
|
+
|
154
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
155
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
156
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
157
|
+
FROM sqlite_master
|
158
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
159
|
+
UNION ALL
|
160
|
+
SELECT sql
|
161
|
+
FROM sqlite_temp_master
|
162
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
163
|
+
[0m
|
164
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
165
|
+
FROM sqlite_master
|
166
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
167
|
+
UNION ALL
|
168
|
+
SELECT sql
|
169
|
+
FROM sqlite_temp_master
|
170
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
171
|
+
|
172
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
173
|
+
FROM sqlite_master
|
174
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
175
|
+
UNION ALL
|
176
|
+
SELECT sql
|
177
|
+
FROM sqlite_temp_master
|
178
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
179
|
+
[0m
|
180
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
181
|
+
FROM sqlite_master
|
182
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
183
|
+
UNION ALL
|
184
|
+
SELECT sql
|
185
|
+
FROM sqlite_temp_master
|
186
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
187
|
+
|
188
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
189
|
+
FROM sqlite_master
|
190
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
191
|
+
UNION ALL
|
192
|
+
SELECT sql
|
193
|
+
FROM sqlite_temp_master
|
194
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
195
|
+
[0m
|
196
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
197
|
+
FROM sqlite_master
|
198
|
+
WHERE name='index_users_on_email' AND type='index'
|
199
|
+
UNION ALL
|
200
|
+
SELECT sql
|
201
|
+
FROM sqlite_temp_master
|
202
|
+
WHERE name='index_users_on_email' AND type='index'
|
203
|
+
|
204
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
205
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
206
|
+
[1m[36m (0.2ms)[0m [1m SELECT sql
|
207
|
+
FROM sqlite_master
|
208
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
209
|
+
UNION ALL
|
210
|
+
SELECT sql
|
211
|
+
FROM sqlite_temp_master
|
212
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
213
|
+
[0m
|
214
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
215
|
+
FROM sqlite_master
|
216
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
217
|
+
UNION ALL
|
218
|
+
SELECT sql
|
219
|
+
FROM sqlite_temp_master
|
220
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
221
|
+
|
222
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
223
|
+
FROM sqlite_master
|
224
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
225
|
+
UNION ALL
|
226
|
+
SELECT sql
|
227
|
+
FROM sqlite_temp_master
|
228
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
229
|
+
[0m
|
230
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
231
|
+
FROM sqlite_master
|
232
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
233
|
+
UNION ALL
|
234
|
+
SELECT sql
|
235
|
+
FROM sqlite_temp_master
|
236
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
237
|
+
|
238
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
239
|
+
FROM sqlite_master
|
240
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
241
|
+
UNION ALL
|
242
|
+
SELECT sql
|
243
|
+
FROM sqlite_temp_master
|
244
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
245
|
+
[0m
|
246
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
247
|
+
FROM sqlite_master
|
248
|
+
WHERE name='index_users_on_email' AND type='index'
|
249
|
+
UNION ALL
|
250
|
+
SELECT sql
|
251
|
+
FROM sqlite_temp_master
|
252
|
+
WHERE name='index_users_on_email' AND type='index'
|
253
|
+
|
254
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
255
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
256
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
257
|
+
FROM sqlite_master
|
258
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
259
|
+
UNION ALL
|
260
|
+
SELECT sql
|
261
|
+
FROM sqlite_temp_master
|
262
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
263
|
+
[0m
|
264
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
265
|
+
FROM sqlite_master
|
266
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
267
|
+
UNION ALL
|
268
|
+
SELECT sql
|
269
|
+
FROM sqlite_temp_master
|
270
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
271
|
+
|
272
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
273
|
+
FROM sqlite_master
|
274
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
275
|
+
UNION ALL
|
276
|
+
SELECT sql
|
277
|
+
FROM sqlite_temp_master
|
278
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
279
|
+
[0m
|
280
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
281
|
+
FROM sqlite_master
|
282
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
283
|
+
UNION ALL
|
284
|
+
SELECT sql
|
285
|
+
FROM sqlite_temp_master
|
286
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
287
|
+
|
288
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
289
|
+
FROM sqlite_master
|
290
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
291
|
+
UNION ALL
|
292
|
+
SELECT sql
|
293
|
+
FROM sqlite_temp_master
|
294
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
295
|
+
[0m
|
296
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
297
|
+
FROM sqlite_master
|
298
|
+
WHERE name='index_users_on_email' AND type='index'
|
299
|
+
UNION ALL
|
300
|
+
SELECT sql
|
301
|
+
FROM sqlite_temp_master
|
302
|
+
WHERE name='index_users_on_email' AND type='index'
|
303
|
+
|
304
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
305
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
306
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
307
|
+
FROM sqlite_master
|
308
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
309
|
+
UNION ALL
|
310
|
+
SELECT sql
|
311
|
+
FROM sqlite_temp_master
|
312
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
313
|
+
[0m
|
314
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
315
|
+
FROM sqlite_master
|
316
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
317
|
+
UNION ALL
|
318
|
+
SELECT sql
|
319
|
+
FROM sqlite_temp_master
|
320
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
321
|
+
|
322
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
323
|
+
FROM sqlite_master
|
324
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
325
|
+
UNION ALL
|
326
|
+
SELECT sql
|
327
|
+
FROM sqlite_temp_master
|
328
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
329
|
+
[0m
|
330
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
331
|
+
FROM sqlite_master
|
332
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
333
|
+
UNION ALL
|
334
|
+
SELECT sql
|
335
|
+
FROM sqlite_temp_master
|
336
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
337
|
+
|
338
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
339
|
+
FROM sqlite_master
|
340
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
341
|
+
UNION ALL
|
342
|
+
SELECT sql
|
343
|
+
FROM sqlite_temp_master
|
344
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
345
|
+
[0m
|
346
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
347
|
+
FROM sqlite_master
|
348
|
+
WHERE name='index_users_on_email' AND type='index'
|
349
|
+
UNION ALL
|
350
|
+
SELECT sql
|
351
|
+
FROM sqlite_temp_master
|
352
|
+
WHERE name='index_users_on_email' AND type='index'
|
353
|
+
|
354
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
355
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
356
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
357
|
+
FROM sqlite_master
|
358
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
359
|
+
UNION ALL
|
360
|
+
SELECT sql
|
361
|
+
FROM sqlite_temp_master
|
362
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
363
|
+
[0m
|
364
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
365
|
+
FROM sqlite_master
|
366
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
367
|
+
UNION ALL
|
368
|
+
SELECT sql
|
369
|
+
FROM sqlite_temp_master
|
370
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
371
|
+
|
372
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
373
|
+
FROM sqlite_master
|
374
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
375
|
+
UNION ALL
|
376
|
+
SELECT sql
|
377
|
+
FROM sqlite_temp_master
|
378
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
379
|
+
[0m
|
380
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
381
|
+
FROM sqlite_master
|
382
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
383
|
+
UNION ALL
|
384
|
+
SELECT sql
|
385
|
+
FROM sqlite_temp_master
|
386
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
387
|
+
|
388
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
389
|
+
FROM sqlite_master
|
390
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
391
|
+
UNION ALL
|
392
|
+
SELECT sql
|
393
|
+
FROM sqlite_temp_master
|
394
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
395
|
+
[0m
|
396
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
397
|
+
FROM sqlite_master
|
398
|
+
WHERE name='index_users_on_email' AND type='index'
|
399
|
+
UNION ALL
|
400
|
+
SELECT sql
|
401
|
+
FROM sqlite_temp_master
|
402
|
+
WHERE name='index_users_on_email' AND type='index'
|
403
|
+
|
404
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
405
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
406
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
407
|
+
FROM sqlite_master
|
408
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
409
|
+
UNION ALL
|
410
|
+
SELECT sql
|
411
|
+
FROM sqlite_temp_master
|
412
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
413
|
+
[0m
|
414
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
415
|
+
FROM sqlite_master
|
416
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
417
|
+
UNION ALL
|
418
|
+
SELECT sql
|
419
|
+
FROM sqlite_temp_master
|
420
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
421
|
+
|
422
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
423
|
+
FROM sqlite_master
|
424
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
425
|
+
UNION ALL
|
426
|
+
SELECT sql
|
427
|
+
FROM sqlite_temp_master
|
428
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
429
|
+
[0m
|
430
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
431
|
+
FROM sqlite_master
|
432
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
433
|
+
UNION ALL
|
434
|
+
SELECT sql
|
435
|
+
FROM sqlite_temp_master
|
436
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
437
|
+
|
438
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
439
|
+
FROM sqlite_master
|
440
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
441
|
+
UNION ALL
|
442
|
+
SELECT sql
|
443
|
+
FROM sqlite_temp_master
|
444
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
445
|
+
[0m
|
446
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
447
|
+
FROM sqlite_master
|
448
|
+
WHERE name='index_users_on_email' AND type='index'
|
449
|
+
UNION ALL
|
450
|
+
SELECT sql
|
451
|
+
FROM sqlite_temp_master
|
452
|
+
WHERE name='index_users_on_email' AND type='index'
|
453
|
+
|
454
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
455
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
456
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
457
|
+
FROM sqlite_master
|
458
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
459
|
+
UNION ALL
|
460
|
+
SELECT sql
|
461
|
+
FROM sqlite_temp_master
|
462
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
463
|
+
[0m
|
464
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
465
|
+
FROM sqlite_master
|
466
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
467
|
+
UNION ALL
|
468
|
+
SELECT sql
|
469
|
+
FROM sqlite_temp_master
|
470
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
471
|
+
|
472
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
473
|
+
FROM sqlite_master
|
474
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
475
|
+
UNION ALL
|
476
|
+
SELECT sql
|
477
|
+
FROM sqlite_temp_master
|
478
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
479
|
+
[0m
|
480
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
481
|
+
FROM sqlite_master
|
482
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
483
|
+
UNION ALL
|
484
|
+
SELECT sql
|
485
|
+
FROM sqlite_temp_master
|
486
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
487
|
+
|
488
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
489
|
+
FROM sqlite_master
|
490
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
491
|
+
UNION ALL
|
492
|
+
SELECT sql
|
493
|
+
FROM sqlite_temp_master
|
494
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
495
|
+
[0m
|
496
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
497
|
+
FROM sqlite_master
|
498
|
+
WHERE name='index_users_on_email' AND type='index'
|
499
|
+
UNION ALL
|
500
|
+
SELECT sql
|
501
|
+
FROM sqlite_temp_master
|
502
|
+
WHERE name='index_users_on_email' AND type='index'
|
503
|
+
|
504
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
505
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
506
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
507
|
+
FROM sqlite_master
|
508
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
509
|
+
UNION ALL
|
510
|
+
SELECT sql
|
511
|
+
FROM sqlite_temp_master
|
512
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
513
|
+
[0m
|
514
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
515
|
+
FROM sqlite_master
|
516
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
517
|
+
UNION ALL
|
518
|
+
SELECT sql
|
519
|
+
FROM sqlite_temp_master
|
520
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
521
|
+
|
522
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
523
|
+
FROM sqlite_master
|
524
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
525
|
+
UNION ALL
|
526
|
+
SELECT sql
|
527
|
+
FROM sqlite_temp_master
|
528
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
529
|
+
[0m
|
530
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
531
|
+
FROM sqlite_master
|
532
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
533
|
+
UNION ALL
|
534
|
+
SELECT sql
|
535
|
+
FROM sqlite_temp_master
|
536
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
537
|
+
|
538
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
539
|
+
FROM sqlite_master
|
540
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
541
|
+
UNION ALL
|
542
|
+
SELECT sql
|
543
|
+
FROM sqlite_temp_master
|
544
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
545
|
+
[0m
|
546
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
547
|
+
FROM sqlite_master
|
548
|
+
WHERE name='index_users_on_email' AND type='index'
|
549
|
+
UNION ALL
|
550
|
+
SELECT sql
|
551
|
+
FROM sqlite_temp_master
|
552
|
+
WHERE name='index_users_on_email' AND type='index'
|
553
|
+
|
554
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
555
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
556
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
557
|
+
FROM sqlite_master
|
558
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
559
|
+
UNION ALL
|
560
|
+
SELECT sql
|
561
|
+
FROM sqlite_temp_master
|
562
|
+
WHERE name='index_microposts_on_user_id_and_created_at' AND type='index'
|
563
|
+
[0m
|
564
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
565
|
+
FROM sqlite_master
|
566
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
567
|
+
UNION ALL
|
568
|
+
SELECT sql
|
569
|
+
FROM sqlite_temp_master
|
570
|
+
WHERE name='index_relationships_on_follower_id' AND type='index'
|
571
|
+
|
572
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
573
|
+
FROM sqlite_master
|
574
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
575
|
+
UNION ALL
|
576
|
+
SELECT sql
|
577
|
+
FROM sqlite_temp_master
|
578
|
+
WHERE name='index_relationships_on_follower_id_and_followed_id' AND type='index'
|
579
|
+
[0m
|
580
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
581
|
+
FROM sqlite_master
|
582
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
583
|
+
UNION ALL
|
584
|
+
SELECT sql
|
585
|
+
FROM sqlite_temp_master
|
586
|
+
WHERE name='index_relationships_on_followed_id' AND type='index'
|
587
|
+
|
588
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
589
|
+
FROM sqlite_master
|
590
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
591
|
+
UNION ALL
|
592
|
+
SELECT sql
|
593
|
+
FROM sqlite_temp_master
|
594
|
+
WHERE name='index_users_on_remember_token' AND type='index'
|
595
|
+
[0m
|
596
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
597
|
+
FROM sqlite_master
|
598
|
+
WHERE name='index_users_on_email' AND type='index'
|
599
|
+
UNION ALL
|
600
|
+
SELECT sql
|
601
|
+
FROM sqlite_temp_master
|
602
|
+
WHERE name='index_users_on_email' AND type='index'
|
603
|
+
|