activerecord-redundancy 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (60) hide show
  1. checksums.yaml +7 -0
  2. data/MIT-LICENSE +20 -0
  3. data/Rakefile +28 -0
  4. data/lib/activerecord-redundancy.rb +1 -0
  5. data/lib/redundancy.rb +137 -0
  6. data/lib/redundancy/version.rb +3 -0
  7. data/lib/tasks/redundancy_tasks.rake +4 -0
  8. data/test/belongs_to_has_one_association_test.rb +60 -0
  9. data/test/dummy/README.rdoc +28 -0
  10. data/test/dummy/Rakefile +6 -0
  11. data/test/dummy/app/assets/javascripts/application.js +13 -0
  12. data/test/dummy/app/assets/stylesheets/application.css +15 -0
  13. data/test/dummy/app/controllers/application_controller.rb +5 -0
  14. data/test/dummy/app/helpers/application_helper.rb +2 -0
  15. data/test/dummy/app/models/account.rb +5 -0
  16. data/test/dummy/app/models/post.rb +6 -0
  17. data/test/dummy/app/models/user.rb +6 -0
  18. data/test/dummy/app/views/layouts/application.html.erb +14 -0
  19. data/test/dummy/bin/bundle +3 -0
  20. data/test/dummy/bin/rails +4 -0
  21. data/test/dummy/bin/rake +4 -0
  22. data/test/dummy/config.ru +4 -0
  23. data/test/dummy/config/application.rb +23 -0
  24. data/test/dummy/config/boot.rb +5 -0
  25. data/test/dummy/config/database.yml +25 -0
  26. data/test/dummy/config/environment.rb +5 -0
  27. data/test/dummy/config/environments/development.rb +37 -0
  28. data/test/dummy/config/environments/production.rb +82 -0
  29. data/test/dummy/config/environments/test.rb +39 -0
  30. data/test/dummy/config/initializers/assets.rb +8 -0
  31. data/test/dummy/config/initializers/backtrace_silencers.rb +7 -0
  32. data/test/dummy/config/initializers/cookies_serializer.rb +3 -0
  33. data/test/dummy/config/initializers/filter_parameter_logging.rb +4 -0
  34. data/test/dummy/config/initializers/inflections.rb +16 -0
  35. data/test/dummy/config/initializers/mime_types.rb +4 -0
  36. data/test/dummy/config/initializers/session_store.rb +3 -0
  37. data/test/dummy/config/initializers/wrap_parameters.rb +14 -0
  38. data/test/dummy/config/locales/en.yml +23 -0
  39. data/test/dummy/config/routes.rb +56 -0
  40. data/test/dummy/config/secrets.yml +22 -0
  41. data/test/dummy/db/development.sqlite3 +0 -0
  42. data/test/dummy/db/migrate/20140716061500_create_posts.rb +14 -0
  43. data/test/dummy/db/migrate/20140716061513_create_users.rb +12 -0
  44. data/test/dummy/db/migrate/20140716133341_create_accounts.rb +11 -0
  45. data/test/dummy/db/schema.rb +43 -0
  46. data/test/dummy/db/test.sqlite3 +0 -0
  47. data/test/dummy/log/development.log +150 -0
  48. data/test/dummy/log/test.log +34830 -0
  49. data/test/dummy/public/404.html +67 -0
  50. data/test/dummy/public/422.html +67 -0
  51. data/test/dummy/public/500.html +66 -0
  52. data/test/dummy/public/favicon.ico +0 -0
  53. data/test/dummy/test/fixtures/accounts.yml +11 -0
  54. data/test/dummy/test/fixtures/posts.yml +17 -0
  55. data/test/dummy/test/fixtures/users.yml +13 -0
  56. data/test/has_many_belongs_to_association_test.rb +60 -0
  57. data/test/has_one_belongs_to_association_test.rb +60 -0
  58. data/test/options_test.rb +12 -0
  59. data/test/test_helper.rb +25 -0
  60. metadata +216 -0
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The page you were looking for doesn't exist (404)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/404.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The page you were looking for doesn't exist.</h1>
62
+ <p>You may have mistyped the address or the page may have moved.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,67 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>The change you wanted was rejected (422)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/422.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>The change you wanted was rejected.</h1>
62
+ <p>Maybe you tried to change something you didn't have access to.</p>
63
+ </div>
64
+ <p>If you are the application owner check the logs for more information.</p>
65
+ </div>
66
+ </body>
67
+ </html>
@@ -0,0 +1,66 @@
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <title>We're sorry, but something went wrong (500)</title>
5
+ <meta name="viewport" content="width=device-width,initial-scale=1">
6
+ <style>
7
+ body {
8
+ background-color: #EFEFEF;
9
+ color: #2E2F30;
10
+ text-align: center;
11
+ font-family: arial, sans-serif;
12
+ margin: 0;
13
+ }
14
+
15
+ div.dialog {
16
+ width: 95%;
17
+ max-width: 33em;
18
+ margin: 4em auto 0;
19
+ }
20
+
21
+ div.dialog > div {
22
+ border: 1px solid #CCC;
23
+ border-right-color: #999;
24
+ border-left-color: #999;
25
+ border-bottom-color: #BBB;
26
+ border-top: #B00100 solid 4px;
27
+ border-top-left-radius: 9px;
28
+ border-top-right-radius: 9px;
29
+ background-color: white;
30
+ padding: 7px 12% 0;
31
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
32
+ }
33
+
34
+ h1 {
35
+ font-size: 100%;
36
+ color: #730E15;
37
+ line-height: 1.5em;
38
+ }
39
+
40
+ div.dialog > p {
41
+ margin: 0 0 1em;
42
+ padding: 1em;
43
+ background-color: #F7F7F7;
44
+ border: 1px solid #CCC;
45
+ border-right-color: #999;
46
+ border-left-color: #999;
47
+ border-bottom-color: #999;
48
+ border-bottom-left-radius: 4px;
49
+ border-bottom-right-radius: 4px;
50
+ border-top-color: #DADADA;
51
+ color: #666;
52
+ box-shadow: 0 3px 8px rgba(50, 50, 50, 0.17);
53
+ }
54
+ </style>
55
+ </head>
56
+
57
+ <body>
58
+ <!-- This file lives in public/500.html -->
59
+ <div class="dialog">
60
+ <div>
61
+ <h1>We're sorry, but something went wrong.</h1>
62
+ </div>
63
+ <p>If you are the application owner check the logs for more information.</p>
64
+ </div>
65
+ </body>
66
+ </html>
File without changes
@@ -0,0 +1,11 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ id: 1
5
+ email: one@one.com
6
+ user_name: Name 1
7
+
8
+ two:
9
+ id: 2
10
+ email: two@two.com
11
+ user_name: Name 2
@@ -0,0 +1,17 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ id: 1
5
+ title: Title 1
6
+ content: Text 1
7
+ user_id: 1
8
+ user_name: Name 1
9
+ username: Name 1
10
+
11
+ two:
12
+ id: 2
13
+ title: Title 2
14
+ content: Text 2
15
+ user_id: 2
16
+ user_name: Name 2
17
+ username: Name 2
@@ -0,0 +1,13 @@
1
+ # Read about fixtures at http://api.rubyonrails.org/classes/ActiveRecord/FixtureSet.html
2
+
3
+ one:
4
+ id: 1
5
+ name: Name 1
6
+ account_id: 1
7
+ account_email: one@one.com
8
+
9
+ two:
10
+ id: 2
11
+ name: Name 2
12
+ account_id: 2
13
+ account_email: two@two.com
@@ -0,0 +1,60 @@
1
+ require 'test_helper'
2
+
3
+ class HasManyBelongsToAssociationTest < ActiveSupport::TestCase
4
+
5
+ # has_many:belongs_to association
6
+ test "should update post.user_name when create post" do
7
+ user = users(:one)
8
+ post = Post.create(title: 'title', content: 'content', user: user)
9
+ assert_equal user.name, post.user_name
10
+ end
11
+
12
+ test "should update post.user_name when create post without user" do
13
+ post = Post.create(title: 'title', content: 'content')
14
+ assert_equal nil, post.user_name
15
+ end
16
+
17
+ test "should update post.user_name when update post.user" do
18
+ user = users(:one)
19
+ post = posts(:two)
20
+ assert_not_equal user.name, post.user_name
21
+
22
+ post.update_attribute(:user, user)
23
+ assert_equal user.name, post.user_name
24
+ end
25
+
26
+ test "should update post.user_name when update post.user with nil" do
27
+ user = users(:one)
28
+ post = posts(:one)
29
+ assert_equal user.name, post.user_name
30
+
31
+ post.update_attribute(:user, nil)
32
+ assert_equal nil, post.user_name
33
+ end
34
+
35
+ test "should update post.user_name when update post.user with other user" do
36
+ user = users(:one)
37
+ other_user = users(:two)
38
+ post = posts(:one)
39
+ other_post = posts(:two)
40
+ assert_equal user.name, post.user_name
41
+ assert_equal other_user.name, other_post.user_name
42
+
43
+ post.update_attribute(:user, other_user)
44
+ assert_equal other_user.name, post.user_name
45
+ end
46
+
47
+ test "should update post.user_name when update user.name" do
48
+ user = users(:one)
49
+ post = posts(:one)
50
+ assert_equal user.name, post.user_name
51
+
52
+ user.update_attribute(:name, "Other Name")
53
+ user.posts.each do |post|
54
+ assert_equal user.name, post.user_name
55
+ end
56
+
57
+ assert_equal user.name, post.reload.user_name
58
+ end
59
+
60
+ end
@@ -0,0 +1,60 @@
1
+ require 'test_helper'
2
+
3
+ class HasOneBelongsToAssociationTest < ActiveSupport::TestCase
4
+
5
+ # has_one:belongs_to association
6
+ test "should update user.account_email when create user" do
7
+ account = accounts(:one)
8
+ user = User.create(name: 'Name', account: account)
9
+ assert_equal account.email, user.account_email
10
+ end
11
+
12
+ test "should update user.account_email when create user without account" do
13
+ user = User.create(name: 'Name')
14
+ assert_equal nil, user.account_email
15
+ end
16
+
17
+ test "should update user.account_email when update user.account" do
18
+ account = accounts(:one)
19
+ user = users(:two)
20
+ assert_not_equal account.email, user.account_email
21
+
22
+ user.update_attribute(:account, account)
23
+ assert_equal account.email, user.account_email
24
+ end
25
+
26
+ test "should update user.account_email when update user.account with nil" do
27
+ account = accounts(:one)
28
+ user = users(:one)
29
+ assert_equal account.email, user.account_email
30
+
31
+ user.update_attribute(:account, nil)
32
+ assert_equal nil, user.account_email
33
+ end
34
+
35
+ test "should update user.account_email when update user.account with other account" do
36
+ account = accounts(:one)
37
+ other_account = accounts(:two)
38
+ user = users(:one)
39
+ other_user = users(:two)
40
+ assert_equal account.email, user.account_email
41
+ assert_equal other_account.email, other_user.account_email
42
+
43
+ user.update_attribute(:account, other_account)
44
+ assert_equal other_account.email, user.account_email
45
+ assert_equal other_account, other_user.account
46
+ assert_equal other_account.email, other_user.account_email
47
+ end
48
+
49
+ test "should update user.account_email when update account.email" do
50
+ account = accounts(:one)
51
+ user = users(:one)
52
+ assert_equal account.email, user.account_email
53
+
54
+ account.update_attribute(:email, "other@email.com")
55
+ assert_equal account.email, account.user.account_email
56
+
57
+ assert_equal account.email, user.reload.account_email
58
+ end
59
+
60
+ end
@@ -0,0 +1,12 @@
1
+ require 'test_helper'
2
+
3
+ class OptionsTest < ActiveSupport::TestCase
4
+
5
+ # :cache_column option
6
+ test "should update post.username when create post" do
7
+ user = users(:one)
8
+ post = Post.create(title: 'title', content: 'content', user: user)
9
+ assert_equal post.username, user.name
10
+ end
11
+
12
+ end
@@ -0,0 +1,25 @@
1
+ # Configure Rails Environment
2
+ ENV["RAILS_ENV"] = "test"
3
+
4
+ require 'minitest/autorun'
5
+ # require 'pry-rescue/minitest'
6
+
7
+ require File.expand_path("../dummy/config/environment.rb", __FILE__)
8
+ require "rails/test_help"
9
+
10
+ Rails.backtrace_cleaner.remove_silencers!
11
+
12
+ # Load support files
13
+ Dir[
14
+ "#{File.dirname(__FILE__)}/support/**/*.rb",
15
+ "#{File.dirname(__FILE__)}/dummy/app/models/*.rb"
16
+ ].each { |f| require f }
17
+
18
+ # Load fixtures from the engine
19
+ if ActiveSupport::TestCase.method_defined?(:fixture_path=)
20
+ ActiveSupport::TestCase.fixture_path = File.expand_path("/dummy/test/fixtures", __FILE__)
21
+ end
22
+ # Load fixtures from the engine
23
+ class ActiveSupport::TestCase
24
+ fixtures :all
25
+ end
metadata ADDED
@@ -0,0 +1,216 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: activerecord-redundancy
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Theo
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2014-07-17 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activerecord
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.2'
20
+ - - "<"
21
+ - !ruby/object:Gem::Version
22
+ version: '5'
23
+ type: :runtime
24
+ prerelease: false
25
+ version_requirements: !ruby/object:Gem::Requirement
26
+ requirements:
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3.2'
30
+ - - "<"
31
+ - !ruby/object:Gem::Version
32
+ version: '5'
33
+ - !ruby/object:Gem::Dependency
34
+ name: sqlite3
35
+ requirement: !ruby/object:Gem::Requirement
36
+ requirements:
37
+ - - ">="
38
+ - !ruby/object:Gem::Version
39
+ version: '0'
40
+ type: :development
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ requirements:
44
+ - - ">="
45
+ - !ruby/object:Gem::Version
46
+ version: '0'
47
+ - !ruby/object:Gem::Dependency
48
+ name: pry-rescue
49
+ requirement: !ruby/object:Gem::Requirement
50
+ requirements:
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: '0'
54
+ type: :development
55
+ prerelease: false
56
+ version_requirements: !ruby/object:Gem::Requirement
57
+ requirements:
58
+ - - ">="
59
+ - !ruby/object:Gem::Version
60
+ version: '0'
61
+ - !ruby/object:Gem::Dependency
62
+ name: rails
63
+ requirement: !ruby/object:Gem::Requirement
64
+ requirements:
65
+ - - ">="
66
+ - !ruby/object:Gem::Version
67
+ version: '0'
68
+ type: :development
69
+ prerelease: false
70
+ version_requirements: !ruby/object:Gem::Requirement
71
+ requirements:
72
+ - - ">="
73
+ - !ruby/object:Gem::Version
74
+ version: '0'
75
+ description: Quickly make a cache column in ActiveRecord, non painful
76
+ email:
77
+ - bbtfrr@gmail.com
78
+ executables: []
79
+ extensions: []
80
+ extra_rdoc_files: []
81
+ files:
82
+ - MIT-LICENSE
83
+ - Rakefile
84
+ - lib/activerecord-redundancy.rb
85
+ - lib/redundancy.rb
86
+ - lib/redundancy/version.rb
87
+ - lib/tasks/redundancy_tasks.rake
88
+ - test/belongs_to_has_one_association_test.rb
89
+ - test/dummy/README.rdoc
90
+ - test/dummy/Rakefile
91
+ - test/dummy/app/assets/javascripts/application.js
92
+ - test/dummy/app/assets/stylesheets/application.css
93
+ - test/dummy/app/controllers/application_controller.rb
94
+ - test/dummy/app/helpers/application_helper.rb
95
+ - test/dummy/app/models/account.rb
96
+ - test/dummy/app/models/post.rb
97
+ - test/dummy/app/models/user.rb
98
+ - test/dummy/app/views/layouts/application.html.erb
99
+ - test/dummy/bin/bundle
100
+ - test/dummy/bin/rails
101
+ - test/dummy/bin/rake
102
+ - test/dummy/config.ru
103
+ - test/dummy/config/application.rb
104
+ - test/dummy/config/boot.rb
105
+ - test/dummy/config/database.yml
106
+ - test/dummy/config/environment.rb
107
+ - test/dummy/config/environments/development.rb
108
+ - test/dummy/config/environments/production.rb
109
+ - test/dummy/config/environments/test.rb
110
+ - test/dummy/config/initializers/assets.rb
111
+ - test/dummy/config/initializers/backtrace_silencers.rb
112
+ - test/dummy/config/initializers/cookies_serializer.rb
113
+ - test/dummy/config/initializers/filter_parameter_logging.rb
114
+ - test/dummy/config/initializers/inflections.rb
115
+ - test/dummy/config/initializers/mime_types.rb
116
+ - test/dummy/config/initializers/session_store.rb
117
+ - test/dummy/config/initializers/wrap_parameters.rb
118
+ - test/dummy/config/locales/en.yml
119
+ - test/dummy/config/routes.rb
120
+ - test/dummy/config/secrets.yml
121
+ - test/dummy/db/development.sqlite3
122
+ - test/dummy/db/migrate/20140716061500_create_posts.rb
123
+ - test/dummy/db/migrate/20140716061513_create_users.rb
124
+ - test/dummy/db/migrate/20140716133341_create_accounts.rb
125
+ - test/dummy/db/schema.rb
126
+ - test/dummy/db/test.sqlite3
127
+ - test/dummy/log/development.log
128
+ - test/dummy/log/test.log
129
+ - test/dummy/public/404.html
130
+ - test/dummy/public/422.html
131
+ - test/dummy/public/500.html
132
+ - test/dummy/public/favicon.ico
133
+ - test/dummy/test/fixtures/accounts.yml
134
+ - test/dummy/test/fixtures/posts.yml
135
+ - test/dummy/test/fixtures/users.yml
136
+ - test/has_many_belongs_to_association_test.rb
137
+ - test/has_one_belongs_to_association_test.rb
138
+ - test/options_test.rb
139
+ - test/test_helper.rb
140
+ homepage: https://github.com/bbtfr/activerecord-redundancy
141
+ licenses:
142
+ - MIT
143
+ metadata: {}
144
+ post_install_message:
145
+ rdoc_options: []
146
+ require_paths:
147
+ - lib
148
+ required_ruby_version: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - ">="
151
+ - !ruby/object:Gem::Version
152
+ version: '0'
153
+ required_rubygems_version: !ruby/object:Gem::Requirement
154
+ requirements:
155
+ - - ">="
156
+ - !ruby/object:Gem::Version
157
+ version: '0'
158
+ requirements: []
159
+ rubyforge_project:
160
+ rubygems_version: 2.2.2
161
+ signing_key:
162
+ specification_version: 4
163
+ summary: Redundancy for better performance, non painful
164
+ test_files:
165
+ - test/belongs_to_has_one_association_test.rb
166
+ - test/dummy/app/assets/javascripts/application.js
167
+ - test/dummy/app/assets/stylesheets/application.css
168
+ - test/dummy/app/controllers/application_controller.rb
169
+ - test/dummy/app/helpers/application_helper.rb
170
+ - test/dummy/app/models/account.rb
171
+ - test/dummy/app/models/post.rb
172
+ - test/dummy/app/models/user.rb
173
+ - test/dummy/app/views/layouts/application.html.erb
174
+ - test/dummy/bin/bundle
175
+ - test/dummy/bin/rails
176
+ - test/dummy/bin/rake
177
+ - test/dummy/config/application.rb
178
+ - test/dummy/config/boot.rb
179
+ - test/dummy/config/database.yml
180
+ - test/dummy/config/environment.rb
181
+ - test/dummy/config/environments/development.rb
182
+ - test/dummy/config/environments/production.rb
183
+ - test/dummy/config/environments/test.rb
184
+ - test/dummy/config/initializers/assets.rb
185
+ - test/dummy/config/initializers/backtrace_silencers.rb
186
+ - test/dummy/config/initializers/cookies_serializer.rb
187
+ - test/dummy/config/initializers/filter_parameter_logging.rb
188
+ - test/dummy/config/initializers/inflections.rb
189
+ - test/dummy/config/initializers/mime_types.rb
190
+ - test/dummy/config/initializers/session_store.rb
191
+ - test/dummy/config/initializers/wrap_parameters.rb
192
+ - test/dummy/config/locales/en.yml
193
+ - test/dummy/config/routes.rb
194
+ - test/dummy/config/secrets.yml
195
+ - test/dummy/config.ru
196
+ - test/dummy/db/development.sqlite3
197
+ - test/dummy/db/migrate/20140716061500_create_posts.rb
198
+ - test/dummy/db/migrate/20140716061513_create_users.rb
199
+ - test/dummy/db/migrate/20140716133341_create_accounts.rb
200
+ - test/dummy/db/schema.rb
201
+ - test/dummy/db/test.sqlite3
202
+ - test/dummy/log/development.log
203
+ - test/dummy/log/test.log
204
+ - test/dummy/public/404.html
205
+ - test/dummy/public/422.html
206
+ - test/dummy/public/500.html
207
+ - test/dummy/public/favicon.ico
208
+ - test/dummy/Rakefile
209
+ - test/dummy/README.rdoc
210
+ - test/dummy/test/fixtures/accounts.yml
211
+ - test/dummy/test/fixtures/posts.yml
212
+ - test/dummy/test/fixtures/users.yml
213
+ - test/has_many_belongs_to_association_test.rb
214
+ - test/has_one_belongs_to_association_test.rb
215
+ - test/options_test.rb
216
+ - test/test_helper.rb