aboutsummaryrefslogtreecommitdiffstats
path: root/guides/source/active_model_basics.textile
diff options
context:
space:
mode:
authorSantiago Pastorino <santiago@wyeworks.com>2012-05-13 09:25:01 -0700
committerSantiago Pastorino <santiago@wyeworks.com>2012-05-13 09:25:01 -0700
commit59b773705e4d91c458a9572dc63c11eab85e633f (patch)
tree18a35cf6371311059f4a1a81a4dbba2c8b09496b /guides/source/active_model_basics.textile
parentaeac0bf620ab4504aceccf5cc3997c7a4ed96791 (diff)
parentd8c194968469f3afe39412818505ac94f78e386d (diff)
downloadrails-59b773705e4d91c458a9572dc63c11eab85e633f.tar.gz
rails-59b773705e4d91c458a9572dc63c11eab85e633f.tar.bz2
rails-59b773705e4d91c458a9572dc63c11eab85e633f.zip
Merge pull request #6303 from korny/remove-require-rubygems
require "rubygems" is obsolete in Ruby 1.9.3
Diffstat (limited to 'guides/source/active_model_basics.textile')
-rw-r--r--guides/source/active_model_basics.textile1
1 files changed, 0 insertions, 1 deletions
diff --git a/guides/source/active_model_basics.textile b/guides/source/active_model_basics.textile
index 98b3533000..f140a8d2ac 100644
--- a/guides/source/active_model_basics.textile
+++ b/guides/source/active_model_basics.textile
@@ -95,7 +95,6 @@ h4. Dirty
An object becomes dirty when an object is gone through one or more changes to its attributes and not yet saved. This gives the ability to check whether an object has been changed or not. It also has attribute based accessor methods. Lets consider a Person class with attributes first_name and last_name
<ruby>
-require 'rubygems'
require 'active_model'
class Person