Permalink
Browse files

Merge branch 'master' of github.com:lifo/docrails

  • Loading branch information...
2 parents 3ae67fb + 89b96c0 commit 596300ac8a2a4be3e2c793f532d8f2ba7c602749 @rizwanreza rizwanreza committed Jun 15, 2010
Showing with 2 additions and 2 deletions.
  1. +2 −2 activemodel/lib/active_model/lint.rb
@@ -56,7 +56,7 @@ def test_valid?
# Returns a boolean that specifies whether the object has been persisted yet.
# This is used when calculating the URL for an object. If the object is
# not persisted, a form for that object, for instance, will be POSTed to the
- # collection. If it is persisted, a form for the object will put PUTed to the
+ # collection. If it is persisted, a form for the object will be PUT to the
# URL for the object.
def test_persisted?
assert model.respond_to?(:persisted?), "The model should respond to persisted?"
@@ -65,7 +65,7 @@ def test_persisted?
# == Naming
#
- # Model.model_name must returns a string with some convenience methods as
+ # Model.model_name must return a string with some convenience methods as
# :human and :partial_path. Check ActiveModel::Naming for more information.
#
def test_model_naming

0 comments on commit 596300a

Please sign in to comment.