record_formatter 0.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (51) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/README.rdoc +37 -0
  4. data/Rakefile +32 -0
  5. data/lib/record_formatter.rb +32 -0
  6. data/lib/record_formatter/base.rb +43 -0
  7. data/lib/record_formatter/column.rb +27 -0
  8. data/lib/record_formatter/model.rb +22 -0
  9. data/lib/record_formatter/version.rb +3 -0
  10. data/lib/tasks/record_formatter_tasks.rake +4 -0
  11. data/test/dummy/README.rdoc +28 -0
  12. data/test/dummy/Rakefile +6 -0
  13. data/test/dummy/app/assets/javascripts/application.js +13 -0
  14. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  15. data/test/dummy/app/controllers/application_controller.rb +5 -0
  16. data/test/dummy/app/helpers/application_helper.rb +2 -0
  17. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  18. data/test/dummy/bin/bundle +3 -0
  19. data/test/dummy/bin/rails +4 -0
  20. data/test/dummy/bin/rake +4 -0
  21. data/test/dummy/config.ru +4 -0
  22. data/test/dummy/config/application.rb +23 -0
  23. data/test/dummy/config/boot.rb +5 -0
  24. data/test/dummy/config/database.yml +25 -0
  25. data/test/dummy/config/environment.rb +5 -0
  26. data/test/dummy/config/environments/development.rb +37 -0
  27. data/test/dummy/config/environments/production.rb +78 -0
  28. data/test/dummy/config/environments/test.rb +39 -0
  29. data/test/dummy/config/initializers/assets.rb +8 -0
  30. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  31. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  32. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  33. data/test/dummy/config/initializers/inflections.rb +16 -0
  34. data/test/dummy/config/initializers/mime_types.rb +4 -0
  35. data/test/dummy/config/initializers/session_store.rb +3 -0
  36. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  37. data/test/dummy/config/locales/en.yml +23 -0
  38. data/test/dummy/config/routes.rb +56 -0
  39. data/test/dummy/config/secrets.yml +22 -0
  40. data/test/dummy/db/test.sqlite3 +0 -0
  41. data/test/dummy/log/test.log +935 -0
  42. data/test/dummy/public/404.html +67 -0
  43. data/test/dummy/public/422.html +67 -0
  44. data/test/dummy/public/500.html +66 -0
  45. data/test/dummy/public/favicon.ico +0 -0
  46. data/test/record_formatter/base_test.rb +54 -0
  47. data/test/record_formatter/column_test.rb +16 -0
  48. data/test/record_formatter/model_test.rb +31 -0
  49. data/test/record_formatter_test.rb +67 -0
  50. data/test/test_helper.rb +16 -0
  51. metadata +189 -0
@@ -0,0 +1,78 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # Code is not reloaded between requests.
5
+ config.cache_classes = true
6
+
7
+ # Eager load code on boot. This eager loads most of Rails and
8
+ # your application in memory, allowing both threaded 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.
14
+ config.consider_all_requests_local = false
15
+ config.action_controller.perform_caching = true
16
+
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).
23
+ config.serve_static_assets = false
24
+
25
+ # Compress JavaScripts and CSS.
26
+ config.assets.js_compressor = :uglifier
27
+ # config.assets.css_compressor = :sass
28
+
29
+ # Do not fallback to assets pipeline if a precompiled asset is missed.
30
+ config.assets.compile = false
31
+
32
+ # Generate digests for assets URLs.
33
+ config.assets.digest = true
34
+
35
+ # `config.assets.precompile` and `config.assets.version` have moved to config/initializers/assets.rb
36
+
37
+ # Specifies the header that your server uses for sending files.
38
+ # config.action_dispatch.x_sendfile_header = "X-Sendfile" # for apache
39
+ # config.action_dispatch.x_sendfile_header = 'X-Accel-Redirect' # for nginx
40
+
41
+ # Force all access to the app over SSL, use Strict-Transport-Security, and use secure cookies.
42
+ # config.force_ssl = true
43
+
44
+ # Set to :debug to see everything in the log.
45
+ config.log_level = :info
46
+
47
+ # Prepend all log lines with the following tags.
48
+ # config.log_tags = [ :subdomain, :uuid ]
49
+
50
+ # Use a different logger for distributed setups.
51
+ # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
52
+
53
+ # Use a different cache store in production.
54
+ # config.cache_store = :mem_cache_store
55
+
56
+ # Enable serving of images, stylesheets, and JavaScripts from an asset server.
57
+ # config.action_controller.asset_host = "http://assets.example.com"
58
+
59
+ # Ignore bad email addresses and do not raise email delivery errors.
60
+ # Set this to true and configure the email server for immediate delivery to raise delivery errors.
61
+ # config.action_mailer.raise_delivery_errors = false
62
+
63
+ # Enable locale fallbacks for I18n (makes lookups for any locale fall back to
64
+ # the I18n.default_locale when a translation cannot be found).
65
+ config.i18n.fallbacks = true
66
+
67
+ # Send deprecation notices to registered listeners.
68
+ config.active_support.deprecation = :notify
69
+
70
+ # Disable automatic flushing of the log to improve performance.
71
+ # config.autoflush_log = false
72
+
73
+ # Use default logging formatter so that PID and timestamp are not suppressed.
74
+ config.log_formatter = ::Logger::Formatter.new
75
+
76
+ # Do not dump schema after migrations.
77
+ config.active_record.dump_schema_after_migration = false
78
+ end
@@ -0,0 +1,39 @@
1
+ Rails.application.configure do
2
+ # Settings specified here will take precedence over those in config/application.rb.
3
+
4
+ # The test environment is used exclusively to run your application's
5
+ # test suite. You never need to work with it otherwise. Remember that
6
+ # your test database is "scratch space" for the test suite and is wiped
7
+ # and recreated between test runs. Don't rely on the data there!
8
+ config.cache_classes = true
9
+
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
14
+
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'
18
+
19
+ # Show full error reports and disable caching.
20
+ config.consider_all_requests_local = true
21
+ config.action_controller.perform_caching = false
22
+
23
+ # Raise exceptions instead of rendering exception templates.
24
+ config.action_dispatch.show_exceptions = false
25
+
26
+ # Disable request forgery protection in test environment.
27
+ config.action_controller.allow_forgery_protection = false
28
+
29
+ # Tell Action Mailer not to deliver emails to the real world.
30
+ # The :test delivery method accumulates sent emails in the
31
+ # ActionMailer::Base.deliveries array.
32
+ config.action_mailer.delivery_method = :test
33
+
34
+ # Print deprecation notices to the stderr.
35
+ config.active_support.deprecation = :stderr
36
+
37
+ # Raises error for missing translations
38
+ # config.action_view.raise_on_missing_translations = true
39
+ end
@@ -0,0 +1,8 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Version of your assets, change this if you want to expire all your assets.
4
+ Rails.application.config.assets.version = '1.0'
5
+
6
+ # Precompile additional assets.
7
+ # application.js, application.css, and all non-JS/CSS in app/assets folder are already added.
8
+ # Rails.application.config.assets.precompile += %w( search.js )
@@ -0,0 +1,7 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # You can add backtrace silencers for libraries that you're using but don't wish to see in your backtraces.
4
+ # Rails.backtrace_cleaner.add_silencer { |line| line =~ /my_noisy_library/ }
5
+
6
+ # You can also remove all the silencers if you're trying to debug a problem that might stem from framework code.
7
+ # Rails.backtrace_cleaner.remove_silencers!
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.action_dispatch.cookies_serializer = :json
@@ -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]
@@ -0,0 +1,16 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new inflection rules using the following format. Inflections
4
+ # are locale specific, and you may define rules for as many different
5
+ # locales as you wish. All of these examples are active by default:
6
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
7
+ # inflect.plural /^(ox)$/i, '\1en'
8
+ # inflect.singular /^(ox)en/i, '\1'
9
+ # inflect.irregular 'person', 'people'
10
+ # inflect.uncountable %w( fish sheep )
11
+ # end
12
+
13
+ # These inflection rules are supported but not enabled by default:
14
+ # ActiveSupport::Inflector.inflections(:en) do |inflect|
15
+ # inflect.acronym 'RESTful'
16
+ # end
@@ -0,0 +1,4 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Add new mime types for use in respond_to blocks:
4
+ # Mime::Type.register "text/richtext", :rtf
@@ -0,0 +1,3 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ Rails.application.config.session_store :cookie_store, key: '_dummy_session'
@@ -0,0 +1,14 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # This file contains settings for ActionController::ParamsWrapper which
4
+ # is enabled by default.
5
+
6
+ # Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
7
+ ActiveSupport.on_load(:action_controller) do
8
+ wrap_parameters format: [:json] if respond_to?(:wrap_parameters)
9
+ end
10
+
11
+ # To enable root element in JSON for ActiveRecord objects.
12
+ # ActiveSupport.on_load(:active_record) do
13
+ # self.include_root_in_json = true
14
+ # end
@@ -0,0 +1,23 @@
1
+ # Files in the config/locales directory are used for internationalization
2
+ # and are automatically loaded by Rails. If you want to use locales other
3
+ # than English, add the necessary files in this directory.
4
+ #
5
+ # To use the locales, use `I18n.t`:
6
+ #
7
+ # I18n.t 'hello'
8
+ #
9
+ # In views, this is aliased to just `t`:
10
+ #
11
+ # <%= t('hello') %>
12
+ #
13
+ # To use a different locale, set it with `I18n.locale`:
14
+ #
15
+ # I18n.locale = :es
16
+ #
17
+ # This would use the information in config/locales/es.yml.
18
+ #
19
+ # To learn more, please read the Rails Internationalization guide
20
+ # available at http://guides.rubyonrails.org/i18n.html.
21
+
22
+ en:
23
+ hello: "Hello world"
@@ -0,0 +1,56 @@
1
+ Rails.application.routes.draw do
2
+ # The priority is based upon order of creation: first created -> highest priority.
3
+ # See how all your routes lay out with "rake routes".
4
+
5
+ # You can have the root of your site routed with "root"
6
+ # root 'welcome#index'
7
+
8
+ # Example of regular route:
9
+ # get 'products/:id' => 'catalog#view'
10
+
11
+ # Example of named route that can be invoked with purchase_url(id: product.id)
12
+ # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase
13
+
14
+ # Example resource route (maps HTTP verbs to controller actions automatically):
15
+ # resources :products
16
+
17
+ # Example resource route with options:
18
+ # resources :products do
19
+ # member do
20
+ # get 'short'
21
+ # post 'toggle'
22
+ # end
23
+ #
24
+ # collection do
25
+ # get 'sold'
26
+ # end
27
+ # end
28
+
29
+ # Example resource route with sub-resources:
30
+ # resources :products do
31
+ # resources :comments, :sales
32
+ # resource :seller
33
+ # end
34
+
35
+ # Example resource route with more complex sub-resources:
36
+ # resources :products do
37
+ # resources :comments
38
+ # resources :sales do
39
+ # get 'recent', on: :collection
40
+ # end
41
+ # end
42
+
43
+ # Example resource route with concerns:
44
+ # concern :toggleable do
45
+ # post 'toggle'
46
+ # end
47
+ # resources :posts, concerns: :toggleable
48
+ # resources :photos, concerns: :toggleable
49
+
50
+ # Example resource route within a namespace:
51
+ # namespace :admin do
52
+ # # Directs /admin/products/* to Admin::ProductsController
53
+ # # (app/controllers/admin/products_controller.rb)
54
+ # resources :products
55
+ # end
56
+ end
@@ -0,0 +1,22 @@
1
+ # Be sure to restart your server when you modify this file.
2
+
3
+ # Your secret key is used for verifying the integrity of signed cookies.
4
+ # If you change this key, all old signed cookies will become invalid!
5
+
6
+ # Make sure the secret is at least 30 characters and all random,
7
+ # no regular words or you'll be exposed to dictionary attacks.
8
+ # You can use `rake secret` to generate a secure secret key.
9
+
10
+ # Make sure the secrets in this file are kept private
11
+ # if you're sharing your code publicly.
12
+
13
+ development:
14
+ secret_key_base: d5c8c383fe8af4c55bacb9d2afd7c789ec84c78b6086e1493798ba1c47d1b6a24d18928d5206a640558e87f9ee830e93f6ca8f447d19f9feae13f00d015055c7
15
+
16
+ test:
17
+ secret_key_base: a6d425a8c926999ed9cff82e60b9c5f7babb8166f4f6594ee73b546d2f2800c75643dc0352363c3f26cfcea566ae4384a0b329887aa4af10154d9b7f4c23787e
18
+
19
+ # Do not keep production secrets in the repository,
20
+ # instead read values from the environment.
21
+ production:
22
+ secret_key_base: <%= ENV["SECRET_KEY_BASE"] %>
File without changes
@@ -0,0 +1,935 @@
1
+  (0.2ms) begin transaction
2
+ -------------------------------
3
+ RecordFormatterTest: test_truth
4
+ -------------------------------
5
+  (0.1ms) rollback transaction
6
+  (0.1ms) begin transaction
7
+ --------------------------------------------------
8
+ RecordFormatterModelTest: test_add_existing_column
9
+ --------------------------------------------------
10
+  (0.1ms) rollback transaction
11
+  (0.1ms) begin transaction
12
+ ---------------------------------------------
13
+ RecordFormatterModelTest: test_add_new_column
14
+ ---------------------------------------------
15
+  (0.1ms) rollback transaction
16
+  (0.1ms) begin transaction
17
+ ----------------------------------------------------------------
18
+ RecordFormatterModelTest: test_initialize_record-formatter-model
19
+ ----------------------------------------------------------------
20
+  (0.1ms) rollback transaction
21
+  (0.1ms) begin transaction
22
+ ------------------------------------------------------------------
23
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
24
+ ------------------------------------------------------------------
25
+  (0.1ms) rollback transaction
26
+  (0.1ms) begin transaction
27
+ -----------------------------------------------------------------------------
28
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
29
+ -----------------------------------------------------------------------------
30
+  (0.1ms) rollback transaction
31
+  (0.1ms) begin transaction
32
+ ---------------------------------------------------------------------
33
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
34
+ ---------------------------------------------------------------------
35
+  (0.1ms) rollback transaction
36
+  (0.1ms) begin transaction
37
+ ------------------------------------------------------------------
38
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
39
+ ------------------------------------------------------------------
40
+  (0.1ms) rollback transaction
41
+  (0.1ms) begin transaction
42
+ --------------------------------------------------------------
43
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
44
+ --------------------------------------------------------------
45
+  (0.1ms) rollback transaction
46
+  (0.1ms) begin transaction
47
+ ---------------------------------------------------------------------
48
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
49
+ ---------------------------------------------------------------------
50
+  (0.1ms) rollback transaction
51
+  (0.1ms) begin transaction
52
+ ----------------------------------------------------------------------------------
53
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
54
+ ----------------------------------------------------------------------------------
55
+  (0.1ms) rollback transaction
56
+  (0.1ms) begin transaction
57
+ ----------------------------------------------------------------
58
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
59
+ ----------------------------------------------------------------
60
+  (0.1ms) rollback transaction
61
+  (0.1ms) begin transaction
62
+ --------------------------------------------------------------------------------------------------------------------------------
63
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
64
+ --------------------------------------------------------------------------------------------------------------------------------
65
+  (0.1ms) rollback transaction
66
+  (0.2ms) begin transaction
67
+ ---------------------------------------------------------------------------------------------------
68
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
69
+ ---------------------------------------------------------------------------------------------------
70
+  (0.1ms) rollback transaction
71
+  (0.1ms) begin transaction
72
+ ----------------------------------------------------------------------------------
73
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
74
+ ----------------------------------------------------------------------------------
75
+  (0.1ms) rollback transaction
76
+  (0.1ms) begin transaction
77
+ ----------------------------------------------------------------
78
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
79
+ ----------------------------------------------------------------
80
+  (0.1ms) rollback transaction
81
+  (0.1ms) begin transaction
82
+ --------------------------------------------------------------------------------------------------------------------------------
83
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
84
+ --------------------------------------------------------------------------------------------------------------------------------
85
+  (0.1ms) rollback transaction
86
+  (0.1ms) begin transaction
87
+ ---------------------------------------------------------------------------------------------------
88
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
89
+ ---------------------------------------------------------------------------------------------------
90
+  (0.1ms) rollback transaction
91
+  (0.1ms) begin transaction
92
+ ------------------------------------------------------------------
93
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
94
+ ------------------------------------------------------------------
95
+  (0.1ms) rollback transaction
96
+  (0.1ms) begin transaction
97
+ -----------------------------------------------------------------------------
98
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
99
+ -----------------------------------------------------------------------------
100
+  (0.1ms) rollback transaction
101
+  (0.1ms) begin transaction
102
+ --------------------------------------------------
103
+ RecordFormatterModelTest: test_add_existing_column
104
+ --------------------------------------------------
105
+  (0.1ms) rollback transaction
106
+  (0.1ms) begin transaction
107
+ ---------------------------------------------
108
+ RecordFormatterModelTest: test_add_new_column
109
+ ---------------------------------------------
110
+  (0.1ms) rollback transaction
111
+  (0.1ms) begin transaction
112
+ ----------------------------------------------------------------
113
+ RecordFormatterModelTest: test_initialize_record-formatter-model
114
+ ----------------------------------------------------------------
115
+  (0.1ms) rollback transaction
116
+  (0.1ms) begin transaction
117
+ ---------------------------------------------------------------------
118
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
119
+ ---------------------------------------------------------------------
120
+  (0.1ms) rollback transaction
121
+  (0.1ms) begin transaction
122
+ ------------------------------------------------------------------
123
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
124
+ ------------------------------------------------------------------
125
+  (0.1ms) rollback transaction
126
+  (0.1ms) begin transaction
127
+ --------------------------------------------------------------
128
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
129
+ --------------------------------------------------------------
130
+  (0.1ms) rollback transaction
131
+  (0.1ms) begin transaction
132
+ ---------------------------------------------------------------------
133
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
134
+ ---------------------------------------------------------------------
135
+  (0.1ms) rollback transaction
136
+  (0.1ms) begin transaction
137
+ --------------------------------------------------
138
+ RecordFormatterModelTest: test_add_existing_column
139
+ --------------------------------------------------
140
+  (0.1ms) rollback transaction
141
+  (0.1ms) begin transaction
142
+ ---------------------------------------------
143
+ RecordFormatterModelTest: test_add_new_column
144
+ ---------------------------------------------
145
+  (0.1ms) rollback transaction
146
+  (0.1ms) begin transaction
147
+ ----------------------------------------------------------------
148
+ RecordFormatterModelTest: test_initialize_record-formatter-model
149
+ ----------------------------------------------------------------
150
+  (0.1ms) rollback transaction
151
+  (0.1ms) begin transaction
152
+ ------------------------------------------------------------------
153
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
154
+ ------------------------------------------------------------------
155
+  (0.1ms) rollback transaction
156
+  (0.1ms) begin transaction
157
+ -----------------------------------------------------------------------------
158
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
159
+ -----------------------------------------------------------------------------
160
+  (0.1ms) rollback transaction
161
+  (0.1ms) begin transaction
162
+ ----------------------------------------------------------------------------------
163
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
164
+ ----------------------------------------------------------------------------------
165
+  (0.1ms) rollback transaction
166
+  (0.1ms) begin transaction
167
+ ----------------------------------------------------------------
168
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
169
+ ----------------------------------------------------------------
170
+  (0.1ms) rollback transaction
171
+  (0.1ms) begin transaction
172
+ --------------------------------------------------------------------------------------------------------------------------------
173
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
174
+ --------------------------------------------------------------------------------------------------------------------------------
175
+  (0.1ms) rollback transaction
176
+  (0.1ms) begin transaction
177
+ ---------------------------------------------------------------------------------------------------
178
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
179
+ ---------------------------------------------------------------------------------------------------
180
+  (0.1ms) rollback transaction
181
+  (0.1ms) begin transaction
182
+ ---------------------------------------------------------------------
183
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
184
+ ---------------------------------------------------------------------
185
+  (0.2ms) rollback transaction
186
+  (0.1ms) begin transaction
187
+ ------------------------------------------------------------------
188
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
189
+ ------------------------------------------------------------------
190
+  (0.1ms) rollback transaction
191
+  (0.1ms) begin transaction
192
+ --------------------------------------------------------------
193
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
194
+ --------------------------------------------------------------
195
+  (0.1ms) rollback transaction
196
+  (0.1ms) begin transaction
197
+ ---------------------------------------------------------------------
198
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
199
+ ---------------------------------------------------------------------
200
+  (0.1ms) rollback transaction
201
+  (0.1ms) begin transaction
202
+ --------------------------------------------------
203
+ RecordFormatterModelTest: test_add_existing_column
204
+ --------------------------------------------------
205
+  (0.1ms) rollback transaction
206
+  (0.1ms) begin transaction
207
+ ---------------------------------------------
208
+ RecordFormatterModelTest: test_add_new_column
209
+ ---------------------------------------------
210
+  (0.1ms) rollback transaction
211
+  (0.1ms) begin transaction
212
+ ----------------------------------------------------------------
213
+ RecordFormatterModelTest: test_initialize_record-formatter-model
214
+ ----------------------------------------------------------------
215
+  (0.1ms) rollback transaction
216
+  (0.1ms) begin transaction
217
+ ----------------------------------------------------------------------------------
218
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
219
+ ----------------------------------------------------------------------------------
220
+  (0.1ms) rollback transaction
221
+  (0.1ms) begin transaction
222
+ ----------------------------------------------------------------
223
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
224
+ ----------------------------------------------------------------
225
+  (0.1ms) rollback transaction
226
+  (0.1ms) begin transaction
227
+ --------------------------------------------------------------------------------------------------------------------------------
228
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
229
+ --------------------------------------------------------------------------------------------------------------------------------
230
+  (0.1ms) rollback transaction
231
+  (0.1ms) begin transaction
232
+ ---------------------------------------------------------------------------------------------------
233
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
234
+ ---------------------------------------------------------------------------------------------------
235
+  (0.1ms) rollback transaction
236
+  (0.1ms) begin transaction
237
+ ---------------------------------------------------------------------
238
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
239
+ ---------------------------------------------------------------------
240
+  (0.1ms) rollback transaction
241
+  (0.1ms) begin transaction
242
+ ------------------------------------------------------------------
243
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
244
+ ------------------------------------------------------------------
245
+  (0.1ms) rollback transaction
246
+  (0.1ms) begin transaction
247
+ --------------------------------------------------------------
248
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
249
+ --------------------------------------------------------------
250
+  (0.1ms) rollback transaction
251
+  (0.1ms) begin transaction
252
+ ---------------------------------------------------------------------
253
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
254
+ ---------------------------------------------------------------------
255
+  (0.1ms) rollback transaction
256
+  (0.1ms) begin transaction
257
+ ------------------------------------------------------------------
258
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
259
+ ------------------------------------------------------------------
260
+  (0.1ms) rollback transaction
261
+  (0.1ms) begin transaction
262
+ -----------------------------------------------------------------------------
263
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
264
+ -----------------------------------------------------------------------------
265
+  (0.1ms) rollback transaction
266
+  (0.2ms) begin transaction
267
+ ----------------------------------------------------------------------------------
268
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
269
+ ----------------------------------------------------------------------------------
270
+  (0.3ms) rollback transaction
271
+  (0.1ms) begin transaction
272
+ ----------------------------------------------------------------
273
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
274
+ ----------------------------------------------------------------
275
+  (0.1ms) rollback transaction
276
+  (0.1ms) begin transaction
277
+ --------------------------------------------------------------------------------------------------------------------------------
278
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
279
+ --------------------------------------------------------------------------------------------------------------------------------
280
+  (0.1ms) rollback transaction
281
+  (0.1ms) begin transaction
282
+ ---------------------------------------------------------------------------------------------------
283
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
284
+ ---------------------------------------------------------------------------------------------------
285
+  (0.1ms) rollback transaction
286
+  (0.1ms) begin transaction
287
+ ------------------------------------------------------------------
288
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
289
+ ------------------------------------------------------------------
290
+  (0.1ms) rollback transaction
291
+  (0.1ms) begin transaction
292
+ -----------------------------------------------------------------------------
293
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
294
+ -----------------------------------------------------------------------------
295
+  (0.1ms) rollback transaction
296
+  (0.1ms) begin transaction
297
+ ---------------------------------------------------------------------
298
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
299
+ ---------------------------------------------------------------------
300
+  (0.1ms) rollback transaction
301
+  (0.1ms) begin transaction
302
+ ------------------------------------------------------------------
303
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
304
+ ------------------------------------------------------------------
305
+  (0.2ms) rollback transaction
306
+  (0.1ms) begin transaction
307
+ --------------------------------------------------------------
308
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
309
+ --------------------------------------------------------------
310
+  (0.1ms) rollback transaction
311
+  (0.1ms) begin transaction
312
+ ---------------------------------------------------------------------
313
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
314
+ ---------------------------------------------------------------------
315
+  (0.1ms) rollback transaction
316
+  (0.1ms) begin transaction
317
+ --------------------------------------------------
318
+ RecordFormatterModelTest: test_add_existing_column
319
+ --------------------------------------------------
320
+  (0.1ms) rollback transaction
321
+  (0.1ms) begin transaction
322
+ ---------------------------------------------
323
+ RecordFormatterModelTest: test_add_new_column
324
+ ---------------------------------------------
325
+  (0.1ms) rollback transaction
326
+  (0.1ms) begin transaction
327
+ ----------------------------------------------------------------
328
+ RecordFormatterModelTest: test_initialize_record-formatter-model
329
+ ----------------------------------------------------------------
330
+  (0.1ms) rollback transaction
331
+  (0.1ms) begin transaction
332
+ ------------------------------------------------------------------
333
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
334
+ ------------------------------------------------------------------
335
+  (0.1ms) rollback transaction
336
+  (0.1ms) begin transaction
337
+ -----------------------------------------------------------------------------
338
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
339
+ -----------------------------------------------------------------------------
340
+  (0.1ms) rollback transaction
341
+  (0.1ms) begin transaction
342
+ --------------------------------------------------
343
+ RecordFormatterModelTest: test_add_existing_column
344
+ --------------------------------------------------
345
+  (0.1ms) rollback transaction
346
+  (0.1ms) begin transaction
347
+ ---------------------------------------------
348
+ RecordFormatterModelTest: test_add_new_column
349
+ ---------------------------------------------
350
+  (0.1ms) rollback transaction
351
+  (0.1ms) begin transaction
352
+ ----------------------------------------------------------------
353
+ RecordFormatterModelTest: test_initialize_record-formatter-model
354
+ ----------------------------------------------------------------
355
+  (0.1ms) rollback transaction
356
+  (0.1ms) begin transaction
357
+ ---------------------------------------------------------------------
358
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
359
+ ---------------------------------------------------------------------
360
+  (0.1ms) rollback transaction
361
+  (0.1ms) begin transaction
362
+ ------------------------------------------------------------------
363
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
364
+ ------------------------------------------------------------------
365
+  (0.1ms) rollback transaction
366
+  (0.1ms) begin transaction
367
+ --------------------------------------------------------------
368
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
369
+ --------------------------------------------------------------
370
+  (0.1ms) rollback transaction
371
+  (0.1ms) begin transaction
372
+ ---------------------------------------------------------------------
373
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
374
+ ---------------------------------------------------------------------
375
+  (0.1ms) rollback transaction
376
+  (0.1ms) begin transaction
377
+ ----------------------------------------------------------------------------------
378
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
379
+ ----------------------------------------------------------------------------------
380
+  (0.1ms) rollback transaction
381
+  (0.1ms) begin transaction
382
+ ----------------------------------------------------------------
383
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
384
+ ----------------------------------------------------------------
385
+  (0.1ms) rollback transaction
386
+  (0.1ms) begin transaction
387
+ --------------------------------------------------------------------------------------------------------------------------------
388
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
389
+ --------------------------------------------------------------------------------------------------------------------------------
390
+  (0.1ms) rollback transaction
391
+  (0.1ms) begin transaction
392
+ ---------------------------------------------------------------------------------------------------
393
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
394
+ ---------------------------------------------------------------------------------------------------
395
+  (0.1ms) rollback transaction
396
+  (0.2ms) begin transaction
397
+ --------------------------------------------------
398
+ RecordFormatterModelTest: test_add_existing_column
399
+ --------------------------------------------------
400
+  (0.1ms) rollback transaction
401
+  (0.1ms) begin transaction
402
+ ---------------------------------------------
403
+ RecordFormatterModelTest: test_add_new_column
404
+ ---------------------------------------------
405
+  (0.1ms) rollback transaction
406
+  (0.1ms) begin transaction
407
+ ----------------------------------------------------------------
408
+ RecordFormatterModelTest: test_initialize_record-formatter-model
409
+ ----------------------------------------------------------------
410
+  (0.1ms) rollback transaction
411
+  (0.1ms) begin transaction
412
+ ---------------------------------------------------------------------
413
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
414
+ ---------------------------------------------------------------------
415
+  (0.1ms) rollback transaction
416
+  (0.1ms) begin transaction
417
+ ------------------------------------------------------------------
418
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
419
+ ------------------------------------------------------------------
420
+  (0.1ms) rollback transaction
421
+  (0.1ms) begin transaction
422
+ --------------------------------------------------------------
423
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
424
+ --------------------------------------------------------------
425
+  (0.1ms) rollback transaction
426
+  (0.1ms) begin transaction
427
+ ---------------------------------------------------------------------
428
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
429
+ ---------------------------------------------------------------------
430
+  (0.1ms) rollback transaction
431
+  (0.1ms) begin transaction
432
+ ------------------------------------------------------------------
433
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
434
+ ------------------------------------------------------------------
435
+  (0.1ms) rollback transaction
436
+  (0.1ms) begin transaction
437
+ -----------------------------------------------------------------------------
438
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
439
+ -----------------------------------------------------------------------------
440
+  (0.1ms) rollback transaction
441
+  (0.1ms) begin transaction
442
+ ----------------------------------------------------------------------------------
443
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
444
+ ----------------------------------------------------------------------------------
445
+  (0.1ms) rollback transaction
446
+  (0.1ms) begin transaction
447
+ ----------------------------------------------------------------
448
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
449
+ ----------------------------------------------------------------
450
+  (0.1ms) rollback transaction
451
+  (0.2ms) begin transaction
452
+ --------------------------------------------------------------------------------------------------------------------------------
453
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
454
+ --------------------------------------------------------------------------------------------------------------------------------
455
+  (0.1ms) rollback transaction
456
+  (0.1ms) begin transaction
457
+ ---------------------------------------------------------------------------------------------------
458
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
459
+ ---------------------------------------------------------------------------------------------------
460
+  (0.2ms) rollback transaction
461
+  (0.2ms) begin transaction
462
+ ---------------------------------------------------------------------
463
+ RecordFormatterBaseTest: test_deployable_records_as_custom_scope_name
464
+ ---------------------------------------------------------------------
465
+  (0.1ms) rollback transaction
466
+  (0.1ms) begin transaction
467
+ ---------------------------------------------------------------------
468
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
469
+ ---------------------------------------------------------------------
470
+  (0.1ms) rollback transaction
471
+  (0.1ms) begin transaction
472
+ ------------------------------------------------------------------
473
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
474
+ ------------------------------------------------------------------
475
+  (0.1ms) rollback transaction
476
+  (0.1ms) begin transaction
477
+ --------------------------------------------------------------
478
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
479
+ --------------------------------------------------------------
480
+  (0.1ms) rollback transaction
481
+  (0.1ms) begin transaction
482
+ ---------------------------------------------------------------------
483
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
484
+ ---------------------------------------------------------------------
485
+  (0.1ms) rollback transaction
486
+  (0.1ms) begin transaction
487
+ --------------------------------------------------
488
+ RecordFormatterModelTest: test_add_existing_column
489
+ --------------------------------------------------
490
+  (0.1ms) rollback transaction
491
+  (0.1ms) begin transaction
492
+ ---------------------------------------------
493
+ RecordFormatterModelTest: test_add_new_column
494
+ ---------------------------------------------
495
+  (0.1ms) rollback transaction
496
+  (0.1ms) begin transaction
497
+ ----------------------------------------------------------------
498
+ RecordFormatterModelTest: test_initialize_record-formatter-model
499
+ ----------------------------------------------------------------
500
+  (0.1ms) rollback transaction
501
+  (0.1ms) begin transaction
502
+ ----------------------------------------------------------------------------------
503
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
504
+ ----------------------------------------------------------------------------------
505
+  (0.1ms) rollback transaction
506
+  (0.2ms) begin transaction
507
+ ----------------------------------------------------------------
508
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
509
+ ----------------------------------------------------------------
510
+  (0.1ms) rollback transaction
511
+  (0.1ms) begin transaction
512
+ --------------------------------------------------------------------------------------------------------------------------------
513
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
514
+ --------------------------------------------------------------------------------------------------------------------------------
515
+  (0.1ms) rollback transaction
516
+  (0.1ms) begin transaction
517
+ ---------------------------------------------------------------------------------------------------
518
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
519
+ ---------------------------------------------------------------------------------------------------
520
+  (0.1ms) rollback transaction
521
+  (0.1ms) begin transaction
522
+ ------------------------------------------------------------------
523
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
524
+ ------------------------------------------------------------------
525
+  (0.1ms) rollback transaction
526
+  (0.1ms) begin transaction
527
+ -----------------------------------------------------------------------------
528
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
529
+ -----------------------------------------------------------------------------
530
+  (0.1ms) rollback transaction
531
+  (0.1ms) begin transaction
532
+ ----------------------------------------------------------------------------------
533
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
534
+ ----------------------------------------------------------------------------------
535
+  (0.1ms) rollback transaction
536
+  (0.1ms) begin transaction
537
+ ----------------------------------------------------------------
538
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
539
+ ----------------------------------------------------------------
540
+  (0.1ms) rollback transaction
541
+  (0.1ms) begin transaction
542
+ --------------------------------------------------------------------------------------------------------------------------------
543
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
544
+ --------------------------------------------------------------------------------------------------------------------------------
545
+  (0.1ms) rollback transaction
546
+  (0.1ms) begin transaction
547
+ ---------------------------------------------------------------------------------------------------
548
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
549
+ ---------------------------------------------------------------------------------------------------
550
+  (0.1ms) rollback transaction
551
+  (0.1ms) begin transaction
552
+ ---------------------------------------------------------------------
553
+ RecordFormatterBaseTest: test_deployable_records_as_custom_scope_name
554
+ ---------------------------------------------------------------------
555
+  (0.1ms) rollback transaction
556
+  (0.1ms) begin transaction
557
+ ---------------------------------------------------------------------
558
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
559
+ ---------------------------------------------------------------------
560
+  (0.1ms) rollback transaction
561
+  (0.1ms) begin transaction
562
+ ------------------------------------------------------------------
563
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
564
+ ------------------------------------------------------------------
565
+  (0.1ms) rollback transaction
566
+  (0.1ms) begin transaction
567
+ --------------------------------------------------------------
568
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
569
+ --------------------------------------------------------------
570
+  (0.1ms) rollback transaction
571
+  (0.1ms) begin transaction
572
+ ---------------------------------------------------------------------
573
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
574
+ ---------------------------------------------------------------------
575
+  (0.1ms) rollback transaction
576
+  (0.1ms) begin transaction
577
+ ------------------------------------------------------------------
578
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
579
+ ------------------------------------------------------------------
580
+  (0.1ms) rollback transaction
581
+  (0.1ms) begin transaction
582
+ -----------------------------------------------------------------------------
583
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
584
+ -----------------------------------------------------------------------------
585
+  (0.1ms) rollback transaction
586
+  (0.1ms) begin transaction
587
+ --------------------------------------------------
588
+ RecordFormatterModelTest: test_add_existing_column
589
+ --------------------------------------------------
590
+  (0.1ms) rollback transaction
591
+  (0.1ms) begin transaction
592
+ ---------------------------------------------
593
+ RecordFormatterModelTest: test_add_new_column
594
+ ---------------------------------------------
595
+  (0.1ms) rollback transaction
596
+  (0.1ms) begin transaction
597
+ ----------------------------------------------------------------
598
+ RecordFormatterModelTest: test_initialize_record-formatter-model
599
+ ----------------------------------------------------------------
600
+  (0.1ms) rollback transaction
601
+  (0.2ms) begin transaction
602
+ ---------------------------------------------------------------------
603
+ RecordFormatterBaseTest: test_deployable_records_as_custom_scope_name
604
+ ---------------------------------------------------------------------
605
+  (0.1ms) rollback transaction
606
+  (0.1ms) begin transaction
607
+ ---------------------------------------------------------------------
608
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
609
+ ---------------------------------------------------------------------
610
+  (0.1ms) rollback transaction
611
+  (0.2ms) begin transaction
612
+ ------------------------------------------------------------------
613
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
614
+ ------------------------------------------------------------------
615
+  (0.2ms) rollback transaction
616
+  (0.1ms) begin transaction
617
+ --------------------------------------------------------------
618
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
619
+ --------------------------------------------------------------
620
+  (0.1ms) rollback transaction
621
+  (0.1ms) begin transaction
622
+ ---------------------------------------------------------------------
623
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
624
+ ---------------------------------------------------------------------
625
+  (0.1ms) rollback transaction
626
+  (0.1ms) begin transaction
627
+ --------------------------------------------------
628
+ RecordFormatterModelTest: test_add_existing_column
629
+ --------------------------------------------------
630
+  (0.1ms) rollback transaction
631
+  (0.1ms) begin transaction
632
+ ---------------------------------------------
633
+ RecordFormatterModelTest: test_add_new_column
634
+ ---------------------------------------------
635
+  (0.1ms) rollback transaction
636
+  (0.1ms) begin transaction
637
+ ----------------------------------------------------------------
638
+ RecordFormatterModelTest: test_initialize_record-formatter-model
639
+ ----------------------------------------------------------------
640
+  (0.1ms) rollback transaction
641
+  (0.2ms) begin transaction
642
+ ------------------------------------------------------------------
643
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
644
+ ------------------------------------------------------------------
645
+  (0.1ms) rollback transaction
646
+  (0.1ms) begin transaction
647
+ -----------------------------------------------------------------------------
648
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
649
+ -----------------------------------------------------------------------------
650
+  (0.1ms) rollback transaction
651
+  (0.1ms) begin transaction
652
+ -------------------------------------------------------------------------
653
+ RecordFormatterTest: test_custom_name_redefines_the_chainable_method_name
654
+ -------------------------------------------------------------------------
655
+  (0.1ms) rollback transaction
656
+  (0.1ms) begin transaction
657
+ ----------------------------------------------------------------------------------
658
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
659
+ ----------------------------------------------------------------------------------
660
+  (0.1ms) rollback transaction
661
+  (0.1ms) begin transaction
662
+ ----------------------------------------------------------------
663
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
664
+ ----------------------------------------------------------------
665
+  (0.1ms) rollback transaction
666
+  (0.1ms) begin transaction
667
+ --------------------------------------------------------------------------------------------------------------------------------
668
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
669
+ --------------------------------------------------------------------------------------------------------------------------------
670
+  (0.1ms) rollback transaction
671
+  (0.1ms) begin transaction
672
+ ---------------------------------------------------------------------------------------------------
673
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
674
+ ---------------------------------------------------------------------------------------------------
675
+  (0.1ms) rollback transaction
676
+  (0.2ms) begin transaction
677
+ ---------------------------------------------------------------------
678
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
679
+ ---------------------------------------------------------------------
680
+  (0.3ms) rollback transaction
681
+  (0.1ms) begin transaction
682
+ ------------------------------------------------------------------
683
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
684
+ ------------------------------------------------------------------
685
+  (0.1ms) rollback transaction
686
+  (0.1ms) begin transaction
687
+ --------------------------------------------------------------
688
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
689
+ --------------------------------------------------------------
690
+  (0.1ms) rollback transaction
691
+  (0.1ms) begin transaction
692
+ ---------------------------------------------------------------------
693
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
694
+ ---------------------------------------------------------------------
695
+  (0.1ms) rollback transaction
696
+  (0.1ms) begin transaction
697
+ ------------------------------------------------------------------
698
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
699
+ ------------------------------------------------------------------
700
+  (0.1ms) rollback transaction
701
+  (0.1ms) begin transaction
702
+ -----------------------------------------------------------------------------
703
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
704
+ -----------------------------------------------------------------------------
705
+  (0.1ms) rollback transaction
706
+  (0.1ms) begin transaction
707
+ --------------------------------------------------
708
+ RecordFormatterModelTest: test_add_existing_column
709
+ --------------------------------------------------
710
+  (0.1ms) rollback transaction
711
+  (0.1ms) begin transaction
712
+ ---------------------------------------------
713
+ RecordFormatterModelTest: test_add_new_column
714
+ ---------------------------------------------
715
+  (0.1ms) rollback transaction
716
+  (0.1ms) begin transaction
717
+ ----------------------------------------------------------------
718
+ RecordFormatterModelTest: test_initialize_record-formatter-model
719
+ ----------------------------------------------------------------
720
+  (0.1ms) rollback transaction
721
+  (0.1ms) begin transaction
722
+ ----------------------------------------------------------------------------------
723
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
724
+ ----------------------------------------------------------------------------------
725
+  (0.1ms) rollback transaction
726
+  (0.1ms) begin transaction
727
+ ----------------------------------------------------------------
728
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
729
+ ----------------------------------------------------------------
730
+  (0.1ms) rollback transaction
731
+  (0.1ms) begin transaction
732
+ --------------------------------------------------------------------------------------------------------------------------------
733
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
734
+ --------------------------------------------------------------------------------------------------------------------------------
735
+  (0.1ms) rollback transaction
736
+  (0.1ms) begin transaction
737
+ ---------------------------------------------------------------------------------------------------
738
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
739
+ ---------------------------------------------------------------------------------------------------
740
+  (0.1ms) rollback transaction
741
+  (0.2ms) begin transaction
742
+ --------------------------------------------------
743
+ RecordFormatterModelTest: test_add_existing_column
744
+ --------------------------------------------------
745
+  (0.2ms) rollback transaction
746
+  (0.2ms) begin transaction
747
+ ---------------------------------------------
748
+ RecordFormatterModelTest: test_add_new_column
749
+ ---------------------------------------------
750
+  (0.1ms) rollback transaction
751
+  (0.2ms) begin transaction
752
+ ----------------------------------------------------------------
753
+ RecordFormatterModelTest: test_initialize_record-formatter-model
754
+ ----------------------------------------------------------------
755
+  (0.1ms) rollback transaction
756
+  (0.1ms) begin transaction
757
+ ---------------------------------------------------------------------
758
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
759
+ ---------------------------------------------------------------------
760
+  (0.1ms) rollback transaction
761
+  (0.1ms) begin transaction
762
+ ------------------------------------------------------------------
763
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
764
+ ------------------------------------------------------------------
765
+  (0.2ms) rollback transaction
766
+  (0.1ms) begin transaction
767
+ --------------------------------------------------------------
768
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
769
+ --------------------------------------------------------------
770
+  (0.1ms) rollback transaction
771
+  (0.2ms) begin transaction
772
+ ---------------------------------------------------------------------
773
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
774
+ ---------------------------------------------------------------------
775
+  (0.1ms) rollback transaction
776
+  (0.1ms) begin transaction
777
+ ----------------------------------------------------------------------------------
778
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
779
+ ----------------------------------------------------------------------------------
780
+  (0.1ms) rollback transaction
781
+  (0.1ms) begin transaction
782
+ ----------------------------------------------------------------
783
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
784
+ ----------------------------------------------------------------
785
+  (0.1ms) rollback transaction
786
+  (0.1ms) begin transaction
787
+ --------------------------------------------------------------------------------------------------------------------------------
788
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
789
+ --------------------------------------------------------------------------------------------------------------------------------
790
+  (0.1ms) rollback transaction
791
+  (0.1ms) begin transaction
792
+ ---------------------------------------------------------------------------------------------------
793
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
794
+ ---------------------------------------------------------------------------------------------------
795
+  (0.1ms) rollback transaction
796
+  (0.2ms) begin transaction
797
+ ------------------------------------------------------------------
798
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
799
+ ------------------------------------------------------------------
800
+  (0.2ms) rollback transaction
801
+  (0.1ms) begin transaction
802
+ -----------------------------------------------------------------------------
803
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
804
+ -----------------------------------------------------------------------------
805
+  (0.1ms) rollback transaction
806
+  (0.2ms) begin transaction
807
+ ----------------------------------------------------------------------------------
808
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
809
+ ----------------------------------------------------------------------------------
810
+  (0.2ms) rollback transaction
811
+  (0.1ms) begin transaction
812
+ ----------------------------------------------------------------
813
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
814
+ ----------------------------------------------------------------
815
+  (0.1ms) rollback transaction
816
+  (0.1ms) begin transaction
817
+ --------------------------------------------------------------------------------------------------------------------------------
818
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
819
+ --------------------------------------------------------------------------------------------------------------------------------
820
+  (0.1ms) rollback transaction
821
+  (0.1ms) begin transaction
822
+ ---------------------------------------------------------------------------------------------------
823
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
824
+ ---------------------------------------------------------------------------------------------------
825
+  (0.1ms) rollback transaction
826
+  (0.1ms) begin transaction
827
+ --------------------------------------------------
828
+ RecordFormatterModelTest: test_add_existing_column
829
+ --------------------------------------------------
830
+  (0.1ms) rollback transaction
831
+  (0.1ms) begin transaction
832
+ ---------------------------------------------
833
+ RecordFormatterModelTest: test_add_new_column
834
+ ---------------------------------------------
835
+  (0.1ms) rollback transaction
836
+  (0.1ms) begin transaction
837
+ ----------------------------------------------------------------
838
+ RecordFormatterModelTest: test_initialize_record-formatter-model
839
+ ----------------------------------------------------------------
840
+  (0.1ms) rollback transaction
841
+  (0.1ms) begin transaction
842
+ ------------------------------------------------------------------
843
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
844
+ ------------------------------------------------------------------
845
+  (0.1ms) rollback transaction
846
+  (0.1ms) begin transaction
847
+ -----------------------------------------------------------------------------
848
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
849
+ -----------------------------------------------------------------------------
850
+  (0.1ms) rollback transaction
851
+  (0.1ms) begin transaction
852
+ ---------------------------------------------------------------------
853
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
854
+ ---------------------------------------------------------------------
855
+  (0.1ms) rollback transaction
856
+  (0.1ms) begin transaction
857
+ ------------------------------------------------------------------
858
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
859
+ ------------------------------------------------------------------
860
+  (0.1ms) rollback transaction
861
+  (0.1ms) begin transaction
862
+ --------------------------------------------------------------
863
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
864
+ --------------------------------------------------------------
865
+  (0.1ms) rollback transaction
866
+  (0.1ms) begin transaction
867
+ ---------------------------------------------------------------------
868
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
869
+ ---------------------------------------------------------------------
870
+  (0.1ms) rollback transaction
871
+  (0.2ms) begin transaction
872
+ ---------------------------------------------------------------------
873
+ RecordFormatterBaseTest: test_deployable_records_with_aliased_columns
874
+ ---------------------------------------------------------------------
875
+  (0.1ms) rollback transaction
876
+  (0.1ms) begin transaction
877
+ ------------------------------------------------------------------
878
+ RecordFormatterBaseTest: test_deployable_records_with_custom_scope
879
+ ------------------------------------------------------------------
880
+  (0.1ms) rollback transaction
881
+  (0.1ms) begin transaction
882
+ --------------------------------------------------------------
883
+ RecordFormatterBaseTest: test_deployable_records_with_defaults
884
+ --------------------------------------------------------------
885
+  (0.1ms) rollback transaction
886
+  (0.1ms) begin transaction
887
+ ---------------------------------------------------------------------
888
+ RecordFormatterBaseTest: test_deployable_records_with_plucked_columns
889
+ ---------------------------------------------------------------------
890
+  (0.1ms) rollback transaction
891
+  (0.1ms) begin transaction
892
+ ------------------------------------------------------------------
893
+ RecordFormatterColumnTest: test_initialize_record-formatter-column
894
+ ------------------------------------------------------------------
895
+  (0.1ms) rollback transaction
896
+  (0.1ms) begin transaction
897
+ -----------------------------------------------------------------------------
898
+ RecordFormatterColumnTest: test_initialize_record-formatter-column_with_alias
899
+ -----------------------------------------------------------------------------
900
+  (0.1ms) rollback transaction
901
+  (0.1ms) begin transaction
902
+ ----------------------------------------------------------------------------------
903
+ RecordFormatterTest: test_dummy_class_+_included_module_does_not_define_deployable
904
+ ----------------------------------------------------------------------------------
905
+  (0.1ms) rollback transaction
906
+  (0.1ms) begin transaction
907
+ ----------------------------------------------------------------
908
+ RecordFormatterTest: test_dummy_class_does_not_define_deployable
909
+ ----------------------------------------------------------------
910
+  (0.1ms) rollback transaction
911
+  (0.1ms) begin transaction
912
+ --------------------------------------------------------------------------------------------------------------------------------
913
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_+_acts_as_record_formatter_responds_to_deployable_scope
914
+ --------------------------------------------------------------------------------------------------------------------------------
915
+  (0.1ms) rollback transaction
916
+  (0.1ms) begin transaction
917
+ ---------------------------------------------------------------------------------------------------
918
+ RecordFormatterTest: test_dummy_class_inheriting_from_ActiveRecord::Base_does_not_define_deployable
919
+ ---------------------------------------------------------------------------------------------------
920
+  (0.1ms) rollback transaction
921
+  (0.1ms) begin transaction
922
+ --------------------------------------------------
923
+ RecordFormatterModelTest: test_add_existing_column
924
+ --------------------------------------------------
925
+  (0.1ms) rollback transaction
926
+  (0.1ms) begin transaction
927
+ ---------------------------------------------
928
+ RecordFormatterModelTest: test_add_new_column
929
+ ---------------------------------------------
930
+  (0.1ms) rollback transaction
931
+  (0.1ms) begin transaction
932
+ ----------------------------------------------------------------
933
+ RecordFormatterModelTest: test_initialize_record-formatter-model
934
+ ----------------------------------------------------------------
935
+  (0.1ms) rollback transaction