Skip to content
This repository
Browse code

ActiveRecord -> Active Record

The proper name, as per the documentation guides, is 'Active Record.' I've
updated several references to it as 'ActiveRecord'.
  • Loading branch information...
commit 27138386ad8dbda2eb44e622515626f352fd3b22 1 parent 0c294e0
Steve Klabnik authored November 29, 2012
2  guides/source/active_model_basics.md
Source Rendered
... ...
@@ -1,7 +1,7 @@
1 1
 Active Model Basics
2 2
 ===================
3 3
 
4  
-This guide should provide you with all you need to get started using model classes. Active Model allows for Action Pack helpers to interact with non-ActiveRecord models. Active Model also helps building custom ORMs for use outside of the Rails framework.
  4
+This guide should provide you with all you need to get started using model classes. Active Model allows for Action Pack helpers to interact with non-Active Record models. Active Model also helps building custom ORMs for use outside of the Rails framework.
5 5
 
6 6
 --------------------------------------------------------------------------------
7 7
 
2  guides/source/active_record_querying.md
Source Rendered
@@ -466,7 +466,7 @@ The field name can also be a string:
466 466
 Client.where('locked' => true)
467 467
 ```
468 468
 
469  
-In the case of a belongs_to relationship, an association key can be used to specify the model if an ActiveRecord object is used as the value. This method works with polymorphic relationships as well.
  469
+In the case of a belongs_to relationship, an association key can be used to specify the model if an Active Record object is used as the value. This method works with polymorphic relationships as well.
470 470
 
471 471
 ```ruby
472 472
 Post.where(author: author)
2  guides/source/active_support_instrumentation.md
Source Rendered
@@ -216,7 +216,7 @@ ActionView
216 216
 }
217 217
 ```
218 218
 
219  
-ActiveRecord
  219
+Active Record
220 220
 ------------
221 221
 
222 222
 ### sql.active_record
4  guides/source/testing.md
Source Rendered
@@ -97,9 +97,9 @@ Rails by default automatically loads all fixtures from the `test/fixtures` folde
97 97
 * Load the fixture data into the table
98 98
 * Dump the fixture data into a variable in case you want to access it directly
99 99
 
100  
-#### Fixtures are ActiveRecord objects
  100
+#### Fixtures are Active Record objects
101 101
 
102  
-Fixtures are instances of ActiveRecord. As mentioned in point #3 above, you can access the object directly because it is automatically setup as a local variable of the test case. For example:
  102
+Fixtures are instances of Active Record. As mentioned in point #3 above, you can access the object directly because it is automatically setup as a local variable of the test case. For example:
103 103
 
104 104
 ```ruby
105 105
 # this will return the User object for the fixture named david
2  guides/source/upgrading_ruby_on_rails.md
Source Rendered
@@ -45,7 +45,7 @@ Rails 4.0 has removed the identity map from Active Record, due to [some inconsis
45 45
 
46 46
 The `delete` method in collection associations can now receive `Fixnum` or `String` arguments as record ids, besides records, pretty much like the `destroy` method does. Previously it raised `ActiveRecord::AssociationTypeMismatch` for such arguments. From Rails 4.0 on `delete` automatically tries to find the records matching the given ids before deleting them.
47 47
 
48  
-Rails 4.0 has changed how orders get stacked in `ActiveRecord::Relation`. In previous versions of rails new order was applied after previous defined order. But this is no long true. Check [ActiveRecord Query guide](active_record_querying.html#ordering) for more information.
  48
+Rails 4.0 has changed how orders get stacked in `ActiveRecord::Relation`. In previous versions of rails new order was applied after previous defined order. But this is no long true. Check [Active Record Query guide](active_record_querying.html#ordering) for more information.
49 49
 
50 50
 Rails 4.0 has changed `serialized_attributes` and `attr_readonly` to class methods only. Now you shouldn't use instance methods, it's deprecated. You must change them, e.g. `self.serialized_attributes` to `self.class.serialized_attributes`.
51 51
 

0 notes on commit 2713838

Please sign in to comment.
Something went wrong with that request. Please try again.