pose 2.1.0 → 3.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a28304ad3e5a60d843f3df073cc68a0842b3a157
4
- data.tar.gz: 8e1bb1ea33bcc319b84c06e8cd13a2332453bbfb
3
+ metadata.gz: b5795ce133c87ea0c6f0841d857b1e106bd527d1
4
+ data.tar.gz: e7404bd3671c5c12df5a190df2ce48699d018efc
5
5
  SHA512:
6
- metadata.gz: 0c8b59c95e6a5cc7d1abf04743ece0b64882080c23a8e1dc96966ab2550ca6e858899ac2ef3d05f6d997df01d324c98598ba158dadede884d7fbf1dd77d23ed0
7
- data.tar.gz: a628c6936417db7d987fb88a84b60149364507be84c4b3ad4808366e28885013f7867c8c99bf5d81853bec730ea423c94cd2d00170c39d581b5fb8eb1306201a
6
+ metadata.gz: ba4cdcc4bb8680bff841c706b96e1d252fec59e5394c69260dd831d9366c8a07f2d9c3d16f69c2ceb4bdc6e43ef8a4ec757fe214a3a3abfc80ada389cdea721a
7
+ data.tar.gz: 9415d0ece9e8984aeba669647b83e7fc7be78b3ff5bf827888a0f9851e48defc66b4a13b6703f29f19b3cbe4da7e6bb1259a2baee7a9f13ebe610e96e437733d
data/README.md CHANGED
@@ -9,6 +9,8 @@ A database agnostic fulltext search engine for ActiveRecord objects in Ruby on R
9
9
  * Very fast search, doing only simple queries over fully indexed columns.
10
10
  * Allows to augment the fulltext search query with your own joins and where clauses.
11
11
 
12
+ Version 3.x is for Rails 4 compatibilty. For Rails 3.x, please use versions 2.x.
13
+
12
14
 
13
15
  ## Installation
14
16
 
@@ -1,8 +1,6 @@
1
1
  # Assigns searchable objects to words in the search index.
2
2
  module Pose
3
3
  class Assignment < ActiveRecord::Base
4
- attr_accessible :word, :posable
5
-
6
4
  belongs_to :word, class_name: 'Pose::Word'
7
5
  belongs_to :posable, polymorphic: true
8
6
 
@@ -1,8 +1,6 @@
1
1
  # A single word in the search index.
2
2
  module Pose
3
3
  class Word < ActiveRecord::Base
4
- attr_accessible :text
5
-
6
4
  has_many :assignments, class_name: 'Pose::Assignment', dependent: :destroy
7
5
 
8
6
  def self.remove_unused_words progress_bar = nil
@@ -33,7 +33,7 @@ module Pose
33
33
 
34
34
  # Step 2: Add new words to the search index.
35
35
  Helpers.get_words_to_add(self.pose_words, new_words).each do |word_to_add|
36
- self.pose_words << Word.find_or_create_by_text(word_to_add)
36
+ self.pose_words << Word.find_or_create_by(text: word_to_add)
37
37
  end
38
38
 
39
39
  # Step 3: Remove now obsolete words from search index.
data/lib/pose/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Pose
2
- VERSION = "2.1.0"
2
+ VERSION = "3.0.0"
3
3
  end
@@ -1,6 +1,4 @@
1
1
  class PosableOne < ActiveRecord::Base
2
- attr_accessible :text
3
-
4
2
  belongs_to :user
5
3
 
6
4
  posify { text }
@@ -1,6 +1,4 @@
1
1
  class PosableTwo < ActiveRecord::Base
2
- attr_accessible :text
3
-
4
2
  belongs_to :user
5
3
 
6
4
  posify { text }
@@ -1,6 +1,4 @@
1
1
  class User < ActiveRecord::Base
2
2
  has_many :posable_one
3
3
  has_many :posable_two
4
-
5
- attr_accessible :name
6
4
  end
@@ -11,16 +11,6 @@ module Dummy
11
11
  # Application configuration should go into files in config/initializers
12
12
  # -- all .rb files in that directory are automatically loaded.
13
13
 
14
- # Custom directories with classes and modules you want to be autoloadable.
15
- # config.autoload_paths += %W(#{config.root}/extras)
16
-
17
- # Only load the plugins named here, in the order given (default is alphabetical).
18
- # :all can be used as a placeholder for all plugins not explicitly named.
19
- # config.plugins = [ :exception_notification, :ssl_requirement, :all ]
20
-
21
- # Activate observers that should always be running.
22
- # config.active_record.observers = :cacher, :garbage_collector, :forum_observer
23
-
24
14
  # Set Time.zone default to the specified zone and make Active Record auto-convert to this zone.
25
15
  # Run "rake -D time" for a list of tasks for finding time zone names. Default is UTC.
26
16
  # config.time_zone = 'Central Time (US & Canada)'
@@ -28,32 +18,6 @@ module Dummy
28
18
  # The default locale is :en and all translations from config/locales/*.rb,yml are auto loaded.
29
19
  # config.i18n.load_path += Dir[Rails.root.join('my', 'locales', '*.{rb,yml}').to_s]
30
20
  # config.i18n.default_locale = :de
31
-
32
- # Configure the default encoding used in templates for Ruby 1.9.
33
- config.encoding = "utf-8"
34
-
35
- # Configure sensitive parameters which will be filtered from the log file.
36
- config.filter_parameters += [:password]
37
-
38
- # Enable escaping HTML in JSON.
39
- config.active_support.escape_html_entities_in_json = true
40
-
41
- # Use SQL instead of Active Record's schema dumper when creating the database.
42
- # This is necessary if your schema can't be completely dumped by the schema dumper,
43
- # like if you have constraints or database-specific column types
44
- # config.active_record.schema_format = :sql
45
-
46
- # Enforce whitelist mode for mass assignment.
47
- # This will create an empty whitelist of attributes available for mass-assignment for all models
48
- # in your app. As such, your models will need to explicitly whitelist or blacklist accessible
49
- # parameters by using an attr_accessible or attr_protected declaration.
50
- config.active_record.whitelist_attributes = true
51
-
52
- # Enable the asset pipeline
53
- config.assets.enabled = true
54
-
55
- # Version of your assets, change this if you want to expire all your assets
56
- config.assets.version = '1.0'
57
21
  end
58
22
  end
59
23
 
@@ -1,37 +1,30 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # In the development environment your application's code is reloaded on
5
5
  # every request. This slows down response time but is perfect for development
6
6
  # since you don't have to restart the web server when you make code changes.
7
7
  config.cache_classes = false
8
8
 
9
- # Log error messages when you accidentally call methods on nil.
10
- config.whiny_nils = true
9
+ # Do not eager load code on boot.
10
+ config.eager_load = false
11
11
 
12
- # Show full error reports and disable caching
12
+ # Show full error reports and disable caching.
13
13
  config.consider_all_requests_local = true
14
14
  config.action_controller.perform_caching = false
15
15
 
16
- # Don't care if the mailer can't send
16
+ # Don't care if the mailer can't send.
17
17
  config.action_mailer.raise_delivery_errors = false
18
18
 
19
- # Print deprecation notices to the Rails logger
19
+ # Print deprecation notices to the Rails logger.
20
20
  config.active_support.deprecation = :log
21
21
 
22
- # Only use best-standards-support built into browsers
23
- config.action_dispatch.best_standards_support = :builtin
22
+ # Raise an error on page load if there are pending migrations
23
+ config.active_record.migration_error = :page_load
24
24
 
25
- # Raise exception on mass assignment protection for Active Record models
26
- config.active_record.mass_assignment_sanitizer = :strict
27
-
28
- # Log the query plan for queries taking more than this (works
29
- # with SQLite, MySQL, and PostgreSQL)
30
- config.active_record.auto_explain_threshold_in_seconds = 0.5
31
-
32
- # Do not compress assets
33
- config.assets.compress = false
34
-
35
- # Expands the lines which load the assets
25
+ # Debug mode disables concatenation and preprocessing of assets.
26
+ # This option may cause significant delays in view rendering with a large
27
+ # number of complex assets.
36
28
  config.assets.debug = true
37
29
  end
30
+
@@ -1,67 +1,81 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
- # Code is not reloaded between requests
4
+ # Code is not reloaded between requests.
5
5
  config.cache_classes = true
6
6
 
7
- # Full error reports are disabled and caching is turned on
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both thread web servers
9
+ # and those relying on copy on write to perform better.
10
+ # Rake tasks automatically ignore this option for performance.
11
+ config.eager_load = true
12
+
13
+ # Full error reports are disabled and caching is turned on.
8
14
  config.consider_all_requests_local = false
9
15
  config.action_controller.perform_caching = true
10
16
 
11
- # Disable Rails's static asset server (Apache or nginx will already do this)
17
+ # Enable Rack::Cache to put a simple HTTP cache in front of your application
18
+ # Add `rack-cache` to your Gemfile before enabling this.
19
+ # For large-scale production use, consider using a caching reverse proxy like nginx, varnish or squid.
20
+ # config.action_dispatch.rack_cache = true
21
+
22
+ # Disable Rails's static asset server (Apache or nginx will already do this).
12
23
  config.serve_static_assets = false
13
24
 
14
- # Compress JavaScripts and CSS
15
- config.assets.compress = true
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
16
28
 
17
- # Don't fallback to assets pipeline if a precompiled asset is missed
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
18
30
  config.assets.compile = false
19
31
 
20
- # Generate digests for assets URLs
32
+ # Generate digests for assets URLs.
21
33
  config.assets.digest = true
22
34
 
23
- # Defaults to nil and saved in location specified by config.assets.prefix
24
- # config.assets.manifest = YOUR_PATH
35
+ # Version of your assets, change this if you want to expire all your assets.
36
+ config.assets.version = '1.0'
25
37
 
26
- # Specifies the header that your server uses for sending files
38
+ # Specifies the header that your server uses for sending files.
27
39
  # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
28
40
  # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
29
41
 
30
42
  # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
31
43
  # config.force_ssl = true
32
44
 
33
- # See everything in the log (default is :info)
34
- # config.log_level = :debug
45
+ # Set to :debug to see everything in the log.
46
+ config.log_level = :info
35
47
 
36
- # Prepend all log lines with the following tags
48
+ # Prepend all log lines with the following tags.
37
49
  # config.log_tags = [ :subdomain, :uuid ]
38
50
 
39
- # Use a different logger for distributed setups
51
+ # Use a different logger for distributed setups.
40
52
  # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
41
53
 
42
- # Use a different cache store in production
54
+ # Use a different cache store in production.
43
55
  # config.cache_store = :mem_cache_store
44
56
 
45
- # Enable serving of images, stylesheets, and JavaScripts from an asset server
57
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
46
58
  # config.action_controller.asset_host = "http://assets.example.com"
47
59
 
48
- # Precompile additional assets (application.js, application.css, and all non-JS/CSS are already added)
60
+ # Precompile additional assets.
61
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
49
62
  # config.assets.precompile += %w( search.js )
50
63
 
51
- # Disable delivery errors, bad email addresses will be ignored
64
+ # Ignore bad email addresses and do not raise email delivery errors.
65
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
52
66
  # config.action_mailer.raise_delivery_errors = false
53
67
 
54
- # Enable threaded mode
55
- # config.threadsafe!
56
-
57
68
  # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
58
- # the I18n.default_locale when a translation can not be found)
69
+ # the I18n.default_locale when a translation can not be found).
59
70
  config.i18n.fallbacks = true
60
71
 
61
- # Send deprecation notices to registered listeners
72
+ # Send deprecation notices to registered listeners.
62
73
  config.active_support.deprecation = :notify
63
74
 
64
- # Log the query plan for queries taking more than this (works
65
- # with SQLite, MySQL, and PostgreSQL)
66
- # config.active_record.auto_explain_threshold_in_seconds = 0.5
75
+ # Disable automatic flushing of the log to improve performance.
76
+ # config.autoflush_log = false
77
+
78
+ # Use default logging formatter so that PID and timestamp are not suppressed.
79
+ config.log_formatter = ::Logger::Formatter.new
67
80
  end
81
+
@@ -1,5 +1,5 @@
1
1
  Dummy::Application.configure do
2
- # Settings specified here will take precedence over those in config/application.rb
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
3
 
4
4
  # The test environment is used exclusively to run your application's
5
5
  # test suite. You never need to work with it otherwise. Remember that
@@ -7,31 +7,31 @@ Dummy::Application.configure do
7
7
  # and recreated between test runs. Don't rely on the data there!
8
8
  config.cache_classes = true
9
9
 
10
- # Configure static asset server for tests with Cache-Control for performance
11
- config.serve_static_assets = true
12
- config.static_cache_control = "public, max-age=3600"
10
+ # Do not eager load code on boot. This avoids loading your whole application
11
+ # just for the purpose of running a single test. If you are using a tool that
12
+ # preloads Rails for running tests, you may have to set it to true.
13
+ config.eager_load = false
13
14
 
14
- # Log error messages when you accidentally call methods on nil
15
- config.whiny_nils = true
15
+ # Configure static asset server for tests with Cache-Control for performance.
16
+ config.serve_static_assets = true
17
+ config.static_cache_control = "public, max-age=3600"
16
18
 
17
- # Show full error reports and disable caching
19
+ # Show full error reports and disable caching.
18
20
  config.consider_all_requests_local = true
19
21
  config.action_controller.perform_caching = false
20
22
 
21
- # Raise exceptions instead of rendering exception templates
23
+ # Raise exceptions instead of rendering exception templates.
22
24
  config.action_dispatch.show_exceptions = false
23
25
 
24
- # Disable request forgery protection in test environment
25
- config.action_controller.allow_forgery_protection = false
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
26
28
 
27
29
  # Tell Action Mailer not to deliver emails to the real world.
28
30
  # The :test delivery method accumulates sent emails in the
29
31
  # ActionMailer::Base.deliveries array.
30
32
  config.action_mailer.delivery_method = :test
31
33
 
32
- # Raise exception on mass assignment protection for Active Record models
33
- config.active_record.mass_assignment_sanitizer = :strict
34
-
35
- # Print deprecation notices to the stderr
34
+ # Print deprecation notices to the stderr.
36
35
  config.active_support.deprecation = :stderr
37
36
  end
37
+
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Configure sensitive parameters which will be filtered from the log file.
4
+ Rails.application.config.filter_parameters += [:password]
Binary file
@@ -9,38 +9,38 @@
9
9
  # from scratch. The latter is a flawed and unsustainable approach (the more migrations
10
10
  # you'll amass, the slower it'll run and the greater likelihood for issues).
11
11
  #
12
- # It's strongly recommended to check this file into your version control system.
12
+ # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(:version => 20130708084009) do
14
+ ActiveRecord::Schema.define(version: 20130708084009) do
15
15
 
16
- create_table "posable_ones", :force => true do |t|
16
+ create_table "posable_ones", force: true do |t|
17
17
  t.string "text"
18
18
  t.boolean "private"
19
19
  t.integer "user_id"
20
20
  end
21
21
 
22
- create_table "posable_twos", :force => true do |t|
22
+ create_table "posable_twos", force: true do |t|
23
23
  t.string "text"
24
24
  t.boolean "private"
25
25
  t.integer "user_id"
26
26
  end
27
27
 
28
- create_table "pose_assignments", :force => true do |t|
29
- t.integer "word_id", :null => false
30
- t.integer "posable_id", :null => false
31
- t.string "posable_type", :limit => 60, :null => false
28
+ create_table "pose_assignments", force: true do |t|
29
+ t.integer "word_id", null: false
30
+ t.integer "posable_id", null: false
31
+ t.string "posable_type", limit: 60, null: false
32
32
  end
33
33
 
34
- add_index "pose_assignments", ["posable_id"], :name => "index_pose_assignments_on_posable_id"
35
- add_index "pose_assignments", ["word_id"], :name => "index_pose_assignments_on_word_id"
34
+ add_index "pose_assignments", ["posable_id"], name: "index_pose_assignments_on_posable_id"
35
+ add_index "pose_assignments", ["word_id"], name: "index_pose_assignments_on_word_id"
36
36
 
37
- create_table "pose_words", :force => true do |t|
38
- t.string "text", :limit => 80, :null => false
37
+ create_table "pose_words", force: true do |t|
38
+ t.string "text", limit: 80, null: false
39
39
  end
40
40
 
41
- add_index "pose_words", ["text"], :name => "index_pose_words_on_text"
41
+ add_index "pose_words", ["text"], name: "index_pose_words_on_text"
42
42
 
43
- create_table "users", :force => true do |t|
43
+ create_table "users", force: true do |t|
44
44
  t.string "name"
45
45
  end
46
46
 
Binary file
@@ -1,259 +1,309 @@
1
+ Connecting to database specified by database.yml
1
2
  Connecting to database specified by database.yml
2
3
   (0.1ms) select sqlite_version(*)
3
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
4
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
5
-  (0.8ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
6
- Migrating to CreatePosableOne (20130308054001)
7
-  (0.0ms) begin transaction
8
-  (0.4ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
9
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
10
-  (0.7ms) commit transaction
11
- Migrating to CreatePosableTwo (20130308054142)
12
-  (0.0ms) begin transaction
13
-  (0.2ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
14
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
15
-  (0.7ms) commit transaction
16
- Migrating to PoseInstall (20130308144915)
4
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
5
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
6
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
7
+ Migrating to InstallPose (20130308053038)
17
8
   (0.0ms) begin transaction
18
-  (0.2ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL)
19
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
9
+  (0.4ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pose_word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
10
+  (0.1ms) CREATE INDEX "index_pose_assignments_on_pose_word_id" ON "pose_assignments" ("pose_word_id")
20
11
   (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
21
12
   (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
22
13
   (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
23
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308144915')
24
-  (0.8ms) commit transaction
14
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308053038')
15
+  (0.9ms) commit transaction
25
16
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
26
17
  Connecting to database specified by database.yml
27
-  (0.7ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
28
-  (0.2ms) select sqlite_version(*)
29
-  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
30
-  (0.7ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
31
-  (0.8ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
32
-  (0.7ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
33
-  (0.6ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
34
-  (0.8ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
35
-  (0.8ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
36
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
37
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
38
-  (0.1ms) SELECT version FROM "schema_migrations"
39
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')
40
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
41
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
42
- Connecting to database specified by database.yml
18
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
19
+ Migrating to InstallPose (20130308053038)
20
+  (0.1ms) select sqlite_version(*)
43
21
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
44
- Migrating to CreatePosableOne (20130308054001)
45
- Migrating to CreatePosableTwo (20130308054142)
46
- Migrating to PoseInstall (20130308144915)
47
-  (2.4ms) select sqlite_version(*)
22
+ Connecting to database specified by database.yml
23
+  (0.1ms) select sqlite_version(*)
24
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
25
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
26
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
27
+ Migrating to InstallPose (20130308053038)
28
+  (0.0ms) begin transaction
29
+  (0.4ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pose_word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
30
+  (0.1ms) CREATE INDEX "index_pose_assignments_on_pose_word_id" ON "pose_assignments" ("pose_word_id")
31
+  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
32
+  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
33
+  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
34
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308053038')
35
+  (1.0ms) commit transaction
48
36
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
49
37
  Connecting to database specified by database.yml
50
-  (0.0ms) select sqlite_version(*)
51
-  (2.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
38
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
39
+  (0.3ms) select sqlite_version(*)
40
+  (1.2ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pose_word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
41
+  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
42
+  (0.9ms) CREATE INDEX "index_pose_assignments_on_pose_word_id" ON "pose_assignments" ("pose_word_id")
43
+  (0.9ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
44
+  (1.6ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
45
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
52
46
   (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
53
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
47
+  (0.1ms) SELECT version FROM "schema_migrations"
48
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308053038')
49
+ Connecting to database specified by database.yml
50
+ Connecting to database specified by database.yml
51
+ Connecting to database specified by database.yml
52
+ Connecting to database specified by database.yml
53
+ Connecting to database specified by database.yml
54
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
55
+ Migrating to InstallPose (20130308053038)
54
56
  Migrating to CreatePosableOne (20130308054001)
57
+  (0.0ms) select sqlite_version(*)
55
58
   (0.0ms) begin transaction
56
-  (0.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
59
+  (0.5ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
57
60
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
58
61
   (0.8ms) commit transaction
59
62
  Migrating to CreatePosableTwo (20130308054142)
60
63
   (0.0ms) begin transaction
61
-  (0.2ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
64
+  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
62
65
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
63
66
   (0.7ms) commit transaction
64
- Migrating to PoseInstall (20130308144915)
67
+  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
68
+ Connecting to database specified by database.yml
69
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
70
+  (0.3ms) select sqlite_version(*)
71
+  (0.9ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
72
+  (0.9ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
73
+  (1.0ms) DROP TABLE "pose_assignments"
74
+  (0.9ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "pose_word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
75
+  (1.6ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
76
+  (0.9ms) CREATE INDEX "index_pose_assignments_on_pose_word_id" ON "pose_assignments" ("pose_word_id")
77
+  (0.9ms) DROP TABLE "pose_words"
78
+  (0.7ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
79
+  (0.8ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
80
+  (0.1ms) SELECT version FROM "schema_migrations"
81
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
82
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
83
+ Connecting to database specified by database.yml
84
+ Connecting to database specified by database.yml
85
+  (0.1ms) select sqlite_version(*)
86
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
87
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
88
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
89
+ Migrating to InstallPose (20130308053038)
65
90
   (0.0ms) begin transaction
66
-  (0.2ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL)
91
+  (2.0ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
67
92
   (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
68
93
   (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
69
94
   (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
70
95
   (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
71
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308144915')
72
-  (0.9ms) commit transaction
73
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
74
- Connecting to database specified by database.yml
75
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
96
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308053038')
97
+  (1.3ms) commit transaction
76
98
  Migrating to CreatePosableOne (20130308054001)
99
+  (0.0ms) begin transaction
100
+  (0.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
101
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
102
+  (1.0ms) commit transaction
77
103
  Migrating to CreatePosableTwo (20130308054142)
78
- Migrating to PoseInstall (20130308144915)
79
- Migrating to CreateUsers (20130708084009)
80
-  (0.0ms) select sqlite_version(*)
81
104
   (0.0ms) begin transaction
82
-  (0.3ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
83
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130708084009')
84
-  (2.1ms) commit transaction
105
+  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
106
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
107
+  (0.7ms) commit transaction
85
108
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
86
109
  Connecting to database specified by database.yml
87
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
88
- Migrating to CreatePosableOne (20130308054001)
89
- Migrating to CreatePosableTwo (20130308054142)
90
- Migrating to PoseInstall (20130308144915)
91
- Migrating to CreateUsers (20130708084009)
92
-  (0.1ms) select sqlite_version(*)
93
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
110
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
111
+  (0.2ms) select sqlite_version(*)
112
+  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
113
+  (0.8ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
114
+  (0.9ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
115
+  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
116
+  (0.9ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
117
+  (0.9ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
118
+  (0.8ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
119
+  (1.2ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
120
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
121
+  (0.1ms) SELECT version FROM "schema_migrations"
122
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
123
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308053038')
124
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
94
125
  Connecting to database specified by database.yml
95
-  (0.0ms) select sqlite_version(*)
96
-  (3.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
126
+  (0.1ms) select sqlite_version(*)
127
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
97
128
   (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
98
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
129
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
130
+ Migrating to InstallPose (20130308053038)
131
+  (0.0ms) begin transaction
132
+  (0.4ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
133
+  (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
134
+  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
135
+  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
136
+  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
137
+  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308053038')
138
+  (1.0ms) commit transaction
99
139
  Migrating to CreatePosableOne (20130308054001)
100
140
   (0.0ms) begin transaction
101
-  (0.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
141
+  (0.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
102
142
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
103
143
   (0.7ms) commit transaction
104
144
  Migrating to CreatePosableTwo (20130308054142)
105
145
   (0.0ms) begin transaction
106
-  (0.2ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
146
+  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
107
147
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
108
-  (0.7ms) commit transaction
109
- Migrating to CreateUsers (20130708084009)
110
-  (0.0ms) begin transaction
111
-  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
112
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130708084009')
113
-  (0.7ms) commit transaction
114
- Migrating to PoseInstall (20130716235926)
148
+  (0.6ms) commit transaction
149
+ Migrating to PoseInstall (20130308144915)
115
150
   (0.0ms) begin transaction
116
-  (0.2ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL)
117
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
118
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
119
-  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
120
-  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
121
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130716235926')
122
-  (0.7ms) commit transaction
123
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
151
+  (0.0ms) rollback transaction
124
152
  Connecting to database specified by database.yml
125
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
126
-  (0.2ms) select sqlite_version(*)
127
-  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
128
-  (0.8ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
129
-  (0.9ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
130
-  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
131
-  (0.6ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
132
-  (0.8ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
133
-  (0.8ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
134
-  (0.7ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL)
135
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
136
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
137
-  (0.1ms) SELECT version FROM "schema_migrations"
138
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130716235926')
139
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
140
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
141
-  (0.5ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
153
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
142
154
  Connecting to database specified by database.yml
143
-  (0.0ms) select sqlite_version(*)
144
-  (3.4ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
145
-  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
146
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
155
+  (0.1ms) select sqlite_version(*)
156
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
157
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
158
+ Connecting to database specified by database.yml
159
+  (0.1ms) select sqlite_version(*)
160
+  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
161
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
162
+  (1.4ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
147
163
  Migrating to CreatePosableOne (20130308054001)
148
164
   (0.0ms) begin transaction
149
-  (0.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
165
+  (0.4ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
150
166
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
151
167
   (0.7ms) commit transaction
152
168
  Migrating to CreatePosableTwo (20130308054142)
153
169
   (0.0ms) begin transaction
154
-  (0.2ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
170
+  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
155
171
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
156
-  (0.6ms) commit transaction
157
- Migrating to CreateUsers (20130708084009)
158
-  (0.0ms) begin transaction
159
-  (0.2ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
160
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130708084009')
161
172
   (0.7ms) commit transaction
162
- Migrating to PoseInstall (20130716235926)
173
+ Migrating to PoseInstall (20130308144915)
163
174
   (0.0ms) begin transaction
164
-  (0.2ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL)
165
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
166
-  (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
167
-  (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
168
-  (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
169
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130716235926')
170
-  (0.8ms) commit transaction
171
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
172
- Connecting to database specified by database.yml
173
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
174
-  (0.2ms) select sqlite_version(*)
175
-  (2.5ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
176
-  (1.0ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
177
-  (0.7ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
178
-  (0.9ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
179
-  (0.8ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
180
-  (0.7ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
181
-  (0.6ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
182
-  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
183
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
184
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
185
-  (0.1ms) SELECT version FROM "schema_migrations"
186
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130716235926')
187
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
188
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
189
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
175
+  (0.0ms) rollback transaction
190
176
  Connecting to database specified by database.yml
191
-  (0.5ms) select sqlite_version(*)
192
-  (1.1ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
193
-  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
194
- Connecting to database specified by database.yml
195
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
177
+  (0.1ms) select sqlite_version(*)
178
+  (1.5ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
179
+  (0.8ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
180
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations"
196
181
  Migrating to CreatePosableOne (20130308054001)
197
-  (0.0ms) select sqlite_version(*)
198
182
   (0.0ms) begin transaction
199
-  (1.0ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
183
+  (0.4ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
200
184
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054001')
201
-  (1.9ms) commit transaction
185
+  (0.8ms) commit transaction
202
186
  Migrating to CreatePosableTwo (20130308054142)
203
-  (0.1ms) begin transaction
204
-  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
187
+  (0.0ms) begin transaction
188
+  (0.3ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
205
189
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308054142')
206
-  (0.6ms) commit transaction
190
+  (1.0ms) commit transaction
207
191
  Migrating to PoseInstall (20130308144915)
208
192
   (0.0ms) begin transaction
209
-  (0.2ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL)
193
+  (0.3ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL)
210
194
   (0.1ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
211
195
   (0.1ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
212
196
   (0.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL) 
213
197
   (0.1ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
214
198
   (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130308144915')
215
-  (0.7ms) commit transaction
216
- Migrating to CreateUsers (20130708084009)
217
-  (0.0ms) begin transaction
218
-  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
219
-  (0.1ms) INSERT INTO "schema_migrations" ("version") VALUES ('20130708084009')
220
-  (0.6ms) commit transaction
199
+  (0.9ms) commit transaction
221
200
   (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
222
201
  Connecting to database specified by database.yml
223
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
202
+  (1.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
224
203
   (0.2ms) select sqlite_version(*)
225
-  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
226
-  (0.8ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
227
-  (0.8ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
204
+  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
205
+  (0.8ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
206
+  (0.8ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
207
+  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
208
+  (0.9ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
209
+  (1.0ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
210
+  (0.9ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
211
+  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
212
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
213
+  (0.1ms) SELECT version FROM "schema_migrations"
214
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')
215
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
216
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
217
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
218
+ Migrating to CreateUsers (20130708084009)
219
+  (0.2ms) begin transaction
220
+  (0.6ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
221
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130708084009"]]
222
+  (5.5ms) commit transaction
223
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
224
+  (1.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
225
+  (0.8ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
226
+  (0.8ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
228
227
   (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
229
-  (0.7ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
230
-  (0.8ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
228
+  (1.6ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
229
+  (0.9ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
231
230
   (0.8ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
232
-  (0.8ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
233
-  (0.7ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
234
-  (0.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
231
+  (1.0ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
232
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
233
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
235
234
   (0.1ms) SELECT version FROM "schema_migrations"
236
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
237
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
238
-  (0.7ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
239
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')
240
- Connecting to database specified by database.yml
241
-  (0.1ms) SELECT "schema_migrations"."version" FROM "schema_migrations" 
242
-  (0.2ms) select sqlite_version(*)
243
-  (2.7ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
244
-  (1.2ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
245
-  (0.6ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
246
-  (0.8ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
247
-  (0.8ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
248
-  (1.0ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
249
-  (0.7ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
235
+  (2.3ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
236
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
237
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
238
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')
239
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
240
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
241
+  (1.1ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean) 
242
+  (1.0ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean)
243
+  (0.9ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(40) NOT NULL) 
244
+  (0.9ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
245
+  (1.4ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
246
+  (1.1ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
247
+  (0.9ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
250
248
   (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
251
-  (0.8ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
252
-  (0.7ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
249
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
250
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
253
251
   (0.1ms) SELECT version FROM "schema_migrations"
254
-  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
255
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
256
-  (0.6ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
257
- Connecting to database specified by database.yml
258
- Connecting to database specified by database.yml
259
- Connecting to database specified by database.yml
252
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
253
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
254
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
255
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')
256
+  (1.3ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
257
+  (1.0ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
258
+ ActiveRecord::SchemaMigration Load (0.1ms) SELECT "schema_migrations".* FROM "schema_migrations"
259
+ Migrating to CreatePosableOne (20130308054001)
260
+  (0.1ms) begin transaction
261
+  (0.7ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
262
+ SQL (0.3ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130308054001"]]
263
+  (0.9ms) commit transaction
264
+ Migrating to CreatePosableTwo (20130308054142)
265
+  (0.1ms) begin transaction
266
+  (0.5ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
267
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130308054142"]]
268
+  (0.9ms) commit transaction
269
+ Migrating to CreateUsers (20130708084009)
270
+  (0.1ms) begin transaction
271
+  (0.4ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
272
+ SQL (0.2ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130708084009"]]
273
+  (1.2ms) commit transaction
274
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
275
+  (1.4ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
276
+  (0.9ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
277
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255)) 
278
+  (1.0ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL)
279
+  (1.6ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
280
+  (0.2ms) SELECT version FROM "schema_migrations"
281
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
282
+  (1.2ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
283
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
284
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
285
+ Migrating to PoseInstall (20130308144915)
286
+  (0.2ms) begin transaction
287
+  (0.7ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
288
+  (0.2ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
289
+  (0.2ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
290
+  (0.3ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
291
+  (0.6ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
292
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES (?) [["version", "20130308144915"]]
293
+  (1.0ms) commit transaction
294
+ ActiveRecord::SchemaMigration Load (0.2ms) SELECT "schema_migrations".* FROM "schema_migrations"
295
+  (1.3ms) CREATE TABLE "posable_ones" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer) 
296
+  (0.9ms) CREATE TABLE "posable_twos" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(255), "private" boolean, "user_id" integer)
297
+  (1.0ms) CREATE TABLE "pose_assignments" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "word_id" integer NOT NULL, "posable_id" integer NOT NULL, "posable_type" varchar(60) NOT NULL) 
298
+  (0.9ms) CREATE INDEX "index_pose_assignments_on_posable_id" ON "pose_assignments" ("posable_id")
299
+  (1.3ms) CREATE INDEX "index_pose_assignments_on_word_id" ON "pose_assignments" ("word_id")
300
+  (0.9ms) CREATE TABLE "pose_words" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "text" varchar(80) NOT NULL)
301
+  (1.0ms) CREATE INDEX "index_pose_words_on_text" ON "pose_words" ("text")
302
+  (0.9ms) CREATE TABLE "users" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "name" varchar(255))
303
+  (0.9ms) CREATE TABLE "schema_migrations" ("version" varchar(255) NOT NULL) 
304
+  (0.9ms) CREATE UNIQUE INDEX "unique_schema_migrations" ON "schema_migrations" ("version")
305
+  (0.2ms) SELECT version FROM "schema_migrations"
306
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130708084009')
307
+  (0.9ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054001')
308
+  (0.8ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308054142')
309
+  (1.0ms) INSERT INTO "schema_migrations" (version) VALUES ('20130308144915')