activerecord 3.2.0 → 3.2.1
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.
Potentially problematic release.
This version of activerecord might be problematic. Click here for more details.
- data/CHANGELOG.md +14 -3
- data/lib/active_record/attribute_methods.rb +0 -3
- data/lib/active_record/base.rb +10 -3
- data/lib/active_record/explain.rb +2 -0
- data/lib/active_record/model_schema.rb +1 -1
- data/lib/active_record/version.rb +1 -1
- metadata +206 -167
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
## Rails 3.2.1 (January 26, 2012) ##
|
2
|
+
|
3
|
+
* The threshold for auto EXPLAIN is ignored if there's no logger. *fxn*
|
4
|
+
|
5
|
+
* Call `to_s` on the value passed to `table_name=`, in particular symbols
|
6
|
+
are supported (regression). *Sergey Nartimov*
|
7
|
+
|
8
|
+
* Fix possible race condition when two threads try to define attribute
|
9
|
+
methods for the same class. *Jon Leighton*
|
10
|
+
|
11
|
+
|
1
12
|
## Rails 3.2.0 (January 20, 2012) ##
|
2
13
|
|
3
14
|
* Added a `with_lock` method to ActiveRecord objects, which starts
|
@@ -60,7 +71,7 @@
|
|
60
71
|
* Implemented ActiveRecord::Relation#pluck method
|
61
72
|
|
62
73
|
Method returns Array of column value from table under ActiveRecord model
|
63
|
-
|
74
|
+
|
64
75
|
Client.pluck(:id)
|
65
76
|
|
66
77
|
*Bogdan Gusiev*
|
@@ -77,7 +88,7 @@
|
|
77
88
|
Post.find(1)
|
78
89
|
Post.connection.close
|
79
90
|
}.join
|
80
|
-
|
91
|
+
|
81
92
|
Only people who spawn threads in their application code need to worry
|
82
93
|
about this change.
|
83
94
|
|
@@ -176,7 +187,7 @@
|
|
176
187
|
during :reject_if => :all_blank (fixes #2937)
|
177
188
|
|
178
189
|
*Aaron Christy*
|
179
|
-
|
190
|
+
|
180
191
|
* Add ActiveSupport::Cache::NullStore for use in development and testing.
|
181
192
|
|
182
193
|
*Brian Durand*
|
@@ -1,6 +1,5 @@
|
|
1
1
|
require 'active_support/core_ext/enumerable'
|
2
2
|
require 'active_support/deprecation'
|
3
|
-
require 'thread'
|
4
3
|
|
5
4
|
module ActiveRecord
|
6
5
|
# = Active Record Attribute Methods
|
@@ -39,8 +38,6 @@ module ActiveRecord
|
|
39
38
|
def define_attribute_methods
|
40
39
|
# Use a mutex; we don't want two thread simaltaneously trying to define
|
41
40
|
# attribute methods.
|
42
|
-
@attribute_methods_mutex ||= Mutex.new
|
43
|
-
|
44
41
|
@attribute_methods_mutex.synchronize do
|
45
42
|
return if attribute_methods_generated?
|
46
43
|
superclass.define_attribute_methods unless self == base_class
|
data/lib/active_record/base.rb
CHANGED
@@ -5,6 +5,7 @@ end
|
|
5
5
|
|
6
6
|
require 'yaml'
|
7
7
|
require 'set'
|
8
|
+
require 'thread'
|
8
9
|
require 'active_support/benchmarkable'
|
9
10
|
require 'active_support/dependencies'
|
10
11
|
require 'active_support/descendants_tracker'
|
@@ -390,12 +391,18 @@ module ActiveRecord #:nodoc:
|
|
390
391
|
|
391
392
|
class << self # Class methods
|
392
393
|
def inherited(child_class) #:nodoc:
|
393
|
-
|
394
|
-
child_class.generated_attribute_methods
|
395
|
-
child_class.generated_feature_methods
|
394
|
+
child_class.initialize_generated_modules
|
396
395
|
super
|
397
396
|
end
|
398
397
|
|
398
|
+
def initialize_generated_modules #:nodoc:
|
399
|
+
@attribute_methods_mutex = Mutex.new
|
400
|
+
|
401
|
+
# force attribute methods to be higher in inheritance hierarchy than other generated methods
|
402
|
+
generated_attribute_methods
|
403
|
+
generated_feature_methods
|
404
|
+
end
|
405
|
+
|
399
406
|
def generated_feature_methods
|
400
407
|
@generated_feature_methods ||= begin
|
401
408
|
mod = const_set(:GeneratedFeatureMethods, Module.new)
|
@@ -22,6 +22,8 @@ module ActiveRecord
|
|
22
22
|
# currently collected. A false value indicates collecting is turned
|
23
23
|
# off. Otherwise it is an array of queries.
|
24
24
|
def logging_query_plan # :nodoc:
|
25
|
+
return yield unless logger
|
26
|
+
|
25
27
|
threshold = auto_explain_threshold_in_seconds
|
26
28
|
current = Thread.current
|
27
29
|
if threshold && current[:available_queries_for_explain].nil?
|
@@ -119,7 +119,7 @@ module ActiveRecord
|
|
119
119
|
# the documentation for ActiveRecord::Base#table_name.
|
120
120
|
def table_name=(value)
|
121
121
|
@original_table_name = @table_name if defined?(@table_name)
|
122
|
-
@table_name = value
|
122
|
+
@table_name = value && value.to_s
|
123
123
|
@quoted_table_name = nil
|
124
124
|
@arel_table = nil
|
125
125
|
@relation = Relation.new(self, arel_table)
|
metadata
CHANGED
@@ -1,242 +1,281 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: activerecord
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
|
+
segments:
|
7
|
+
- 3
|
8
|
+
- 2
|
9
|
+
- 1
|
10
|
+
version: 3.2.1
|
6
11
|
platform: ruby
|
7
|
-
authors:
|
12
|
+
authors:
|
8
13
|
- David Heinemeier Hansson
|
9
14
|
autorequire:
|
10
15
|
bindir: bin
|
11
16
|
cert_chain: []
|
12
|
-
|
13
|
-
|
14
|
-
|
17
|
+
|
18
|
+
date: 2012-01-26 00:00:00 -08:00
|
19
|
+
default_executable:
|
20
|
+
dependencies:
|
21
|
+
- !ruby/object:Gem::Dependency
|
15
22
|
name: activesupport
|
16
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
17
25
|
none: false
|
18
|
-
requirements:
|
19
|
-
- - =
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
|
26
|
+
requirements:
|
27
|
+
- - "="
|
28
|
+
- !ruby/object:Gem::Version
|
29
|
+
hash: 13
|
30
|
+
segments:
|
31
|
+
- 3
|
32
|
+
- 2
|
33
|
+
- 1
|
34
|
+
version: 3.2.1
|
22
35
|
type: :runtime
|
23
|
-
|
24
|
-
|
25
|
-
- !ruby/object:Gem::Dependency
|
36
|
+
version_requirements: *id001
|
37
|
+
- !ruby/object:Gem::Dependency
|
26
38
|
name: activemodel
|
27
|
-
|
39
|
+
prerelease: false
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
28
41
|
none: false
|
29
|
-
requirements:
|
30
|
-
- - =
|
31
|
-
- !ruby/object:Gem::Version
|
32
|
-
|
42
|
+
requirements:
|
43
|
+
- - "="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 13
|
46
|
+
segments:
|
47
|
+
- 3
|
48
|
+
- 2
|
49
|
+
- 1
|
50
|
+
version: 3.2.1
|
33
51
|
type: :runtime
|
34
|
-
|
35
|
-
|
36
|
-
- !ruby/object:Gem::Dependency
|
52
|
+
version_requirements: *id002
|
53
|
+
- !ruby/object:Gem::Dependency
|
37
54
|
name: arel
|
38
|
-
|
55
|
+
prerelease: false
|
56
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
39
57
|
none: false
|
40
|
-
requirements:
|
58
|
+
requirements:
|
41
59
|
- - ~>
|
42
|
-
- !ruby/object:Gem::Version
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
hash: 7
|
62
|
+
segments:
|
63
|
+
- 3
|
64
|
+
- 0
|
65
|
+
- 0
|
43
66
|
version: 3.0.0
|
44
67
|
type: :runtime
|
45
|
-
|
46
|
-
|
47
|
-
- !ruby/object:Gem::Dependency
|
68
|
+
version_requirements: *id003
|
69
|
+
- !ruby/object:Gem::Dependency
|
48
70
|
name: tzinfo
|
49
|
-
|
71
|
+
prerelease: false
|
72
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
50
73
|
none: false
|
51
|
-
requirements:
|
74
|
+
requirements:
|
52
75
|
- - ~>
|
53
|
-
- !ruby/object:Gem::Version
|
76
|
+
- !ruby/object:Gem::Version
|
77
|
+
hash: 41
|
78
|
+
segments:
|
79
|
+
- 0
|
80
|
+
- 3
|
81
|
+
- 29
|
54
82
|
version: 0.3.29
|
55
83
|
type: :runtime
|
56
|
-
|
57
|
-
|
58
|
-
description: Databases on Rails. Build a persistent domain model by mapping database
|
59
|
-
tables to Ruby classes. Strong conventions for associations, validations, aggregations,
|
60
|
-
migrations, and testing come baked-in.
|
84
|
+
version_requirements: *id004
|
85
|
+
description: Databases on Rails. Build a persistent domain model by mapping database tables to Ruby classes. Strong conventions for associations, validations, aggregations, migrations, and testing come baked-in.
|
61
86
|
email: david@loudthinking.com
|
62
87
|
executables: []
|
88
|
+
|
63
89
|
extensions: []
|
64
|
-
|
90
|
+
|
91
|
+
extra_rdoc_files:
|
65
92
|
- README.rdoc
|
66
|
-
files:
|
93
|
+
files:
|
67
94
|
- CHANGELOG.md
|
68
95
|
- MIT-LICENSE
|
69
96
|
- README.rdoc
|
70
97
|
- examples/associations.png
|
71
|
-
- examples/performance.rb
|
72
98
|
- examples/simple.rb
|
99
|
+
- examples/performance.rb
|
100
|
+
- lib/active_record.rb
|
101
|
+
- lib/active_record/nested_attributes.rb
|
102
|
+
- lib/active_record/locale/en.yml
|
103
|
+
- lib/active_record/model_schema.rb
|
104
|
+
- lib/active_record/relation/delegation.rb
|
105
|
+
- lib/active_record/relation/spawn_methods.rb
|
106
|
+
- lib/active_record/relation/query_methods.rb
|
107
|
+
- lib/active_record/relation/finder_methods.rb
|
108
|
+
- lib/active_record/relation/batches.rb
|
109
|
+
- lib/active_record/relation/calculations.rb
|
110
|
+
- lib/active_record/relation/predicate_builder.rb
|
111
|
+
- lib/active_record/railtie.rb
|
112
|
+
- lib/active_record/autosave_association.rb
|
113
|
+
- lib/active_record/result.rb
|
73
114
|
- lib/active_record/aggregations.rb
|
74
|
-
- lib/active_record/
|
75
|
-
- lib/active_record/
|
76
|
-
- lib/active_record/
|
77
|
-
- lib/active_record/
|
78
|
-
- lib/active_record/
|
115
|
+
- lib/active_record/railties/jdbcmysql_error.rb
|
116
|
+
- lib/active_record/railties/console_sandbox.rb
|
117
|
+
- lib/active_record/railties/databases.rake
|
118
|
+
- lib/active_record/railties/controller_runtime.rb
|
119
|
+
- lib/active_record/explain_subscriber.rb
|
120
|
+
- lib/active_record/connection_adapters/mysql_adapter.rb
|
121
|
+
- lib/active_record/connection_adapters/mysql2_adapter.rb
|
122
|
+
- lib/active_record/connection_adapters/abstract/connection_pool.rb
|
123
|
+
- lib/active_record/connection_adapters/abstract/database_statements.rb
|
124
|
+
- lib/active_record/connection_adapters/abstract/connection_specification.rb
|
125
|
+
- lib/active_record/connection_adapters/abstract/quoting.rb
|
126
|
+
- lib/active_record/connection_adapters/abstract/schema_definitions.rb
|
127
|
+
- lib/active_record/connection_adapters/abstract/schema_statements.rb
|
128
|
+
- lib/active_record/connection_adapters/abstract/database_limits.rb
|
129
|
+
- lib/active_record/connection_adapters/abstract/query_cache.rb
|
130
|
+
- lib/active_record/connection_adapters/abstract_adapter.rb
|
131
|
+
- lib/active_record/connection_adapters/column.rb
|
132
|
+
- lib/active_record/connection_adapters/abstract_mysql_adapter.rb
|
133
|
+
- lib/active_record/connection_adapters/sqlite_adapter.rb
|
134
|
+
- lib/active_record/connection_adapters/postgresql_adapter.rb
|
135
|
+
- lib/active_record/connection_adapters/statement_pool.rb
|
136
|
+
- lib/active_record/connection_adapters/schema_cache.rb
|
137
|
+
- lib/active_record/connection_adapters/sqlite3_adapter.rb
|
138
|
+
- lib/active_record/scoping/named.rb
|
139
|
+
- lib/active_record/scoping/default.rb
|
140
|
+
- lib/active_record/reflection.rb
|
141
|
+
- lib/active_record/test_case.rb
|
142
|
+
- lib/active_record/translation.rb
|
143
|
+
- lib/active_record/associations.rb
|
144
|
+
- lib/active_record/session_store.rb
|
145
|
+
- lib/active_record/dynamic_scope_match.rb
|
146
|
+
- lib/active_record/dynamic_finder_match.rb
|
147
|
+
- lib/active_record/scoping.rb
|
148
|
+
- lib/active_record/attribute_assignment.rb
|
149
|
+
- lib/active_record/querying.rb
|
150
|
+
- lib/active_record/attribute_methods/before_type_cast.rb
|
151
|
+
- lib/active_record/attribute_methods/read.rb
|
152
|
+
- lib/active_record/attribute_methods/primary_key.rb
|
153
|
+
- lib/active_record/attribute_methods/query.rb
|
154
|
+
- lib/active_record/attribute_methods/write.rb
|
155
|
+
- lib/active_record/attribute_methods/time_zone_conversion.rb
|
156
|
+
- lib/active_record/attribute_methods/dirty.rb
|
157
|
+
- lib/active_record/attribute_methods/deprecated_underscore_read.rb
|
158
|
+
- lib/active_record/attribute_methods/serialization.rb
|
159
|
+
- lib/active_record/sanitization.rb
|
160
|
+
- lib/active_record/associations/has_many_through_association.rb
|
79
161
|
- lib/active_record/associations/builder/association.rb
|
80
|
-
- lib/active_record/associations/builder/belongs_to.rb
|
81
162
|
- lib/active_record/associations/builder/collection_association.rb
|
82
|
-
- lib/active_record/associations/builder/has_and_belongs_to_many.rb
|
83
|
-
- lib/active_record/associations/builder/has_many.rb
|
84
163
|
- lib/active_record/associations/builder/has_one.rb
|
164
|
+
- lib/active_record/associations/builder/has_and_belongs_to_many.rb
|
165
|
+
- lib/active_record/associations/builder/belongs_to.rb
|
85
166
|
- lib/active_record/associations/builder/singular_association.rb
|
167
|
+
- lib/active_record/associations/builder/has_many.rb
|
168
|
+
- lib/active_record/associations/alias_tracker.rb
|
169
|
+
- lib/active_record/associations/association.rb
|
86
170
|
- lib/active_record/associations/collection_association.rb
|
87
|
-
- lib/active_record/associations/
|
88
|
-
- lib/active_record/associations/
|
89
|
-
- lib/active_record/associations/has_many_association.rb
|
90
|
-
- lib/active_record/associations/has_many_through_association.rb
|
91
|
-
- lib/active_record/associations/has_one_association.rb
|
92
|
-
- lib/active_record/associations/has_one_through_association.rb
|
171
|
+
- lib/active_record/associations/join_helper.rb
|
172
|
+
- lib/active_record/associations/join_dependency/join_part.rb
|
93
173
|
- lib/active_record/associations/join_dependency/join_association.rb
|
94
174
|
- lib/active_record/associations/join_dependency/join_base.rb
|
95
|
-
- lib/active_record/associations/
|
96
|
-
- lib/active_record/associations/
|
97
|
-
- lib/active_record/associations/
|
175
|
+
- lib/active_record/associations/singular_association.rb
|
176
|
+
- lib/active_record/associations/has_one_association.rb
|
177
|
+
- lib/active_record/associations/belongs_to_association.rb
|
178
|
+
- lib/active_record/associations/association_scope.rb
|
179
|
+
- lib/active_record/associations/has_many_association.rb
|
98
180
|
- lib/active_record/associations/preloader/association.rb
|
99
|
-
- lib/active_record/associations/preloader/belongs_to.rb
|
100
181
|
- lib/active_record/associations/preloader/collection_association.rb
|
101
|
-
- lib/active_record/associations/preloader/has_and_belongs_to_many.rb
|
102
|
-
- lib/active_record/associations/preloader/has_many.rb
|
103
|
-
- lib/active_record/associations/preloader/has_many_through.rb
|
104
182
|
- lib/active_record/associations/preloader/has_one.rb
|
105
|
-
- lib/active_record/associations/preloader/
|
183
|
+
- lib/active_record/associations/preloader/has_and_belongs_to_many.rb
|
184
|
+
- lib/active_record/associations/preloader/belongs_to.rb
|
106
185
|
- lib/active_record/associations/preloader/singular_association.rb
|
186
|
+
- lib/active_record/associations/preloader/has_one_through.rb
|
187
|
+
- lib/active_record/associations/preloader/has_many_through.rb
|
107
188
|
- lib/active_record/associations/preloader/through_association.rb
|
108
|
-
- lib/active_record/associations/preloader.rb
|
109
|
-
- lib/active_record/associations/
|
189
|
+
- lib/active_record/associations/preloader/has_many.rb
|
190
|
+
- lib/active_record/associations/has_one_through_association.rb
|
110
191
|
- lib/active_record/associations/through_association.rb
|
111
|
-
- lib/active_record/associations.rb
|
112
|
-
- lib/active_record/
|
113
|
-
- lib/active_record/
|
114
|
-
- lib/active_record/
|
115
|
-
- lib/active_record/
|
116
|
-
- lib/active_record/
|
117
|
-
- lib/active_record/
|
118
|
-
- lib/active_record/
|
119
|
-
- lib/active_record/
|
120
|
-
- lib/active_record/
|
121
|
-
- lib/active_record/attribute_methods/write.rb
|
122
|
-
- lib/active_record/attribute_methods.rb
|
123
|
-
- lib/active_record/autosave_association.rb
|
192
|
+
- lib/active_record/associations/join_dependency.rb
|
193
|
+
- lib/active_record/associations/collection_proxy.rb
|
194
|
+
- lib/active_record/associations/belongs_to_polymorphic_association.rb
|
195
|
+
- lib/active_record/associations/has_and_belongs_to_many_association.rb
|
196
|
+
- lib/active_record/associations/preloader.rb
|
197
|
+
- lib/active_record/persistence.rb
|
198
|
+
- lib/active_record/locking/optimistic.rb
|
199
|
+
- lib/active_record/locking/pessimistic.rb
|
200
|
+
- lib/active_record/schema.rb
|
201
|
+
- lib/active_record/relation.rb
|
124
202
|
- lib/active_record/base.rb
|
125
|
-
- lib/active_record/callbacks.rb
|
126
|
-
- lib/active_record/coders/yaml_column.rb
|
127
|
-
- lib/active_record/connection_adapters/abstract/connection_pool.rb
|
128
|
-
- lib/active_record/connection_adapters/abstract/connection_specification.rb
|
129
|
-
- lib/active_record/connection_adapters/abstract/database_limits.rb
|
130
|
-
- lib/active_record/connection_adapters/abstract/database_statements.rb
|
131
|
-
- lib/active_record/connection_adapters/abstract/query_cache.rb
|
132
|
-
- lib/active_record/connection_adapters/abstract/quoting.rb
|
133
|
-
- lib/active_record/connection_adapters/abstract/schema_definitions.rb
|
134
|
-
- lib/active_record/connection_adapters/abstract/schema_statements.rb
|
135
|
-
- lib/active_record/connection_adapters/abstract_adapter.rb
|
136
|
-
- lib/active_record/connection_adapters/abstract_mysql_adapter.rb
|
137
|
-
- lib/active_record/connection_adapters/column.rb
|
138
|
-
- lib/active_record/connection_adapters/mysql2_adapter.rb
|
139
|
-
- lib/active_record/connection_adapters/mysql_adapter.rb
|
140
|
-
- lib/active_record/connection_adapters/postgresql_adapter.rb
|
141
|
-
- lib/active_record/connection_adapters/schema_cache.rb
|
142
|
-
- lib/active_record/connection_adapters/sqlite3_adapter.rb
|
143
|
-
- lib/active_record/connection_adapters/sqlite_adapter.rb
|
144
|
-
- lib/active_record/connection_adapters/statement_pool.rb
|
145
|
-
- lib/active_record/counter_cache.rb
|
146
|
-
- lib/active_record/dynamic_finder_match.rb
|
147
|
-
- lib/active_record/dynamic_matchers.rb
|
148
|
-
- lib/active_record/dynamic_scope_match.rb
|
149
|
-
- lib/active_record/errors.rb
|
150
|
-
- lib/active_record/explain.rb
|
151
|
-
- lib/active_record/explain_subscriber.rb
|
152
|
-
- lib/active_record/fixtures/file.rb
|
153
|
-
- lib/active_record/fixtures.rb
|
154
203
|
- lib/active_record/identity_map.rb
|
155
204
|
- lib/active_record/inheritance.rb
|
205
|
+
- lib/active_record/errors.rb
|
206
|
+
- lib/active_record/explain.rb
|
207
|
+
- lib/active_record/coders/yaml_column.rb
|
156
208
|
- lib/active_record/integration.rb
|
157
|
-
- lib/active_record/
|
158
|
-
- lib/active_record/
|
159
|
-
- lib/active_record/
|
209
|
+
- lib/active_record/callbacks.rb
|
210
|
+
- lib/active_record/counter_cache.rb
|
211
|
+
- lib/active_record/validations.rb
|
212
|
+
- lib/active_record/version.rb
|
213
|
+
- lib/active_record/timestamp.rb
|
214
|
+
- lib/active_record/observer.rb
|
215
|
+
- lib/active_record/serializers/xml_serializer.rb
|
216
|
+
- lib/active_record/fixtures.rb
|
217
|
+
- lib/active_record/validations/associated.rb
|
218
|
+
- lib/active_record/validations/uniqueness.rb
|
219
|
+
- lib/active_record/fixtures/file.rb
|
160
220
|
- lib/active_record/log_subscriber.rb
|
161
221
|
- lib/active_record/migration/command_recorder.rb
|
162
|
-
- lib/active_record/
|
163
|
-
- lib/active_record/model_schema.rb
|
164
|
-
- lib/active_record/nested_attributes.rb
|
165
|
-
- lib/active_record/observer.rb
|
166
|
-
- lib/active_record/persistence.rb
|
167
|
-
- lib/active_record/query_cache.rb
|
168
|
-
- lib/active_record/querying.rb
|
169
|
-
- lib/active_record/railtie.rb
|
170
|
-
- lib/active_record/railties/console_sandbox.rb
|
171
|
-
- lib/active_record/railties/controller_runtime.rb
|
172
|
-
- lib/active_record/railties/databases.rake
|
173
|
-
- lib/active_record/railties/jdbcmysql_error.rb
|
174
|
-
- lib/active_record/readonly_attributes.rb
|
175
|
-
- lib/active_record/reflection.rb
|
176
|
-
- lib/active_record/relation/batches.rb
|
177
|
-
- lib/active_record/relation/calculations.rb
|
178
|
-
- lib/active_record/relation/delegation.rb
|
179
|
-
- lib/active_record/relation/finder_methods.rb
|
180
|
-
- lib/active_record/relation/predicate_builder.rb
|
181
|
-
- lib/active_record/relation/query_methods.rb
|
182
|
-
- lib/active_record/relation/spawn_methods.rb
|
183
|
-
- lib/active_record/relation.rb
|
184
|
-
- lib/active_record/result.rb
|
185
|
-
- lib/active_record/sanitization.rb
|
186
|
-
- lib/active_record/schema.rb
|
222
|
+
- lib/active_record/dynamic_matchers.rb
|
187
223
|
- lib/active_record/schema_dumper.rb
|
188
|
-
- lib/active_record/
|
189
|
-
- lib/active_record/
|
190
|
-
- lib/active_record/
|
191
|
-
- lib/active_record/serialization.rb
|
192
|
-
- lib/active_record/serializers/xml_serializer.rb
|
193
|
-
- lib/active_record/session_store.rb
|
224
|
+
- lib/active_record/query_cache.rb
|
225
|
+
- lib/active_record/attribute_methods.rb
|
226
|
+
- lib/active_record/migration.rb
|
194
227
|
- lib/active_record/store.rb
|
195
|
-
- lib/active_record/test_case.rb
|
196
|
-
- lib/active_record/timestamp.rb
|
197
228
|
- lib/active_record/transactions.rb
|
198
|
-
- lib/active_record/
|
199
|
-
- lib/active_record/
|
200
|
-
- lib/
|
201
|
-
- lib/active_record/
|
202
|
-
- lib/active_record/
|
203
|
-
- lib/active_record.rb
|
204
|
-
- lib/rails/generators/active_record/migration/migration_generator.rb
|
205
|
-
- lib/rails/generators/active_record/migration/templates/migration.rb
|
206
|
-
- lib/rails/generators/active_record/migration.rb
|
229
|
+
- lib/active_record/readonly_attributes.rb
|
230
|
+
- lib/active_record/serialization.rb
|
231
|
+
- lib/rails/generators/active_record.rb
|
232
|
+
- lib/rails/generators/active_record/observer/observer_generator.rb
|
233
|
+
- lib/rails/generators/active_record/observer/templates/observer.rb
|
207
234
|
- lib/rails/generators/active_record/model/model_generator.rb
|
208
|
-
- lib/rails/generators/active_record/model/templates/migration.rb
|
209
235
|
- lib/rails/generators/active_record/model/templates/model.rb
|
210
236
|
- lib/rails/generators/active_record/model/templates/module.rb
|
211
|
-
- lib/rails/generators/active_record/
|
212
|
-
- lib/rails/generators/active_record/observer/templates/observer.rb
|
237
|
+
- lib/rails/generators/active_record/model/templates/migration.rb
|
213
238
|
- lib/rails/generators/active_record/session_migration/session_migration_generator.rb
|
214
239
|
- lib/rails/generators/active_record/session_migration/templates/migration.rb
|
215
|
-
- lib/rails/generators/active_record.rb
|
240
|
+
- lib/rails/generators/active_record/migration/migration_generator.rb
|
241
|
+
- lib/rails/generators/active_record/migration/templates/migration.rb
|
242
|
+
- lib/rails/generators/active_record/migration.rb
|
243
|
+
has_rdoc: true
|
216
244
|
homepage: http://www.rubyonrails.org
|
217
245
|
licenses: []
|
246
|
+
|
218
247
|
post_install_message:
|
219
|
-
rdoc_options:
|
248
|
+
rdoc_options:
|
220
249
|
- --main
|
221
250
|
- README.rdoc
|
222
|
-
require_paths:
|
251
|
+
require_paths:
|
223
252
|
- lib
|
224
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
253
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
225
254
|
none: false
|
226
|
-
requirements:
|
227
|
-
- -
|
228
|
-
- !ruby/object:Gem::Version
|
255
|
+
requirements:
|
256
|
+
- - ">="
|
257
|
+
- !ruby/object:Gem::Version
|
258
|
+
hash: 57
|
259
|
+
segments:
|
260
|
+
- 1
|
261
|
+
- 8
|
262
|
+
- 7
|
229
263
|
version: 1.8.7
|
230
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
264
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
231
265
|
none: false
|
232
|
-
requirements:
|
233
|
-
- -
|
234
|
-
- !ruby/object:Gem::Version
|
235
|
-
|
266
|
+
requirements:
|
267
|
+
- - ">="
|
268
|
+
- !ruby/object:Gem::Version
|
269
|
+
hash: 3
|
270
|
+
segments:
|
271
|
+
- 0
|
272
|
+
version: "0"
|
236
273
|
requirements: []
|
274
|
+
|
237
275
|
rubyforge_project:
|
238
|
-
rubygems_version: 1.
|
276
|
+
rubygems_version: 1.6.2
|
239
277
|
signing_key:
|
240
278
|
specification_version: 3
|
241
279
|
summary: Object-relational mapper framework (part of Rails).
|
242
280
|
test_files: []
|
281
|
+
|