Skip to content

Commit 4ae90a7

Browse files
committed
Merge branch 'master' of github.com:rails/docrails
2 parents 26c38fe + 1913f1e commit 4ae90a7

File tree

4 files changed

+11
-6
lines changed

4 files changed

+11
-6
lines changed

activerecord/README.rdoc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ A short rundown of some of the major features:
1919

2020
class Product < ActiveRecord::Base
2121
end
22-
22+
2323
{Learn more}[link:classes/ActiveRecord/Base.html]
24-
24+
2525
The Product class is automatically mapped to the table named "products",
2626
which might look like this:
2727

@@ -33,7 +33,7 @@ which might look like this:
3333

3434
This would also define the following accessors: `Product#name` and
3535
`Product#name=(new_name)`.
36-
36+
3737

3838
* Associations between objects defined by simple class methods.
3939

activerecord/lib/active_record/attribute_assignment.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,9 @@ module AttributeAssignment
1313
# exception is raised.
1414
#
1515
# cat = Cat.new(name: "Gorby", status: "yawning")
16-
# cat.attributes # => { "name" => "Gorby", "status" => "yawning" }
16+
# cat.attributes # => { "name" => "Gorby", "status" => "yawning", "created_at" => nil, "updated_at" => nil}
1717
# cat.assign_attributes(status: "sleeping")
18-
# cat.attributes # => { "name" => "Gorby", "status" => "sleeping" }
18+
# cat.attributes # => { "name" => "Gorby", "status" => "sleeping", "created_at" => nil, "updated_at" => nil }
1919
#
2020
# New attributes will be persisted in the database when the object is saved.
2121
#

guides/source/3_2_release_notes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -562,4 +562,4 @@ Credits
562562

563563
See the [full list of contributors to Rails](http://contributors.rubyonrails.org/) for the many people who spent many hours making Rails, the stable and robust framework it is. Kudos to all of them.
564564

565-
Rails 3.2 Release Notes were compiled by [Vijay Dev](https://github.com/vijaydev.)
565+
Rails 3.2 Release Notes were compiled by [Vijay Dev](https://github.com/vijaydev).

railties/lib/rails/generators.rb

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -161,6 +161,11 @@ def self.invoke(namespace, args=ARGV, config={})
161161
end
162162
end
163163

164+
# Returns an array of generator namespaces that are hidden.
165+
# Generator namespaces may be hidden for a variety of reasons.
166+
# Some are aliased such as "rails:migration" and can be
167+
# invoked with the shorter "migration", others are private to other generators
168+
# such as "css:scaffold".
164169
def self.hidden_namespaces
165170
@hidden_namespaces ||= begin
166171
orm = options[:rails][:orm]

0 commit comments

Comments
 (0)