Permalink
Browse files

Merge branch 'master' of github.com:oscardelben/words-about-code

  • Loading branch information...
oscardelben committed Apr 28, 2012
2 parents 8ed2527 + e4dec22 commit 0c61d1bb2291c943e30bb2dad5f1c5fcdbf627d0
@@ -33,7 +33,7 @@ class Person
end
-p =Person.new
+p = Person.new
p.name = "Oscar"
p.name_present? # true
p.name_contains?("Os") # true
@@ -37,7 +37,7 @@ end
You also choose to specify a role (we'll see later how to use it).
-Match better. Now let's see how these methods are defined internally.
+Much better. Now let's see how these methods are defined internally.
## ActiveModel::MassAssignmentSecurity
@@ -12,8 +12,7 @@ class User
include ActiveModel::SecurePassword
include ActiveModel::Validations
- attr_accessor :password_digest # This would normally be a database
-column
+ attr_accessor :password_digest # This would normally be a database column
has_secure_password
end

0 comments on commit 0c61d1b

Please sign in to comment.