Skip to content

Commit 165bac9

Browse files
committed
Fix typo in comments
1 parent 4f26f09 commit 165bac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/active_model/serializer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ def self.inherited(base)
3434
end
3535

3636
# Primary interface to building a serializer (with adapter)
37-
# If no block is given, returns the adapter, ready for #as_json/#to_json
37+
# If no block is given, returns the builder, ready for #as_json/#to_json/#serializable_hash
3838
# Otherwise, yields the builder and returns the contents of the block
3939
def self.build(resource, options = {})
4040
builder = Builder.new(resource, options)

0 commit comments

Comments
 (0)