From d8c194968469f3afe39412818505ac94f78e386d Mon Sep 17 00:00:00 2001 From: Kornelius Kalnbach Date: Sun, 13 May 2012 14:47:25 +0200 Subject: require "rubygems" is obsolete in Ruby 1.9.3 --- guides/source/action_view_overview.textile | 2 -- guides/source/active_model_basics.textile | 1 - 2 files changed, 3 deletions(-) (limited to 'guides') diff --git a/guides/source/action_view_overview.textile b/guides/source/action_view_overview.textile index fd1b6c5fc2..bde30ba21c 100644 --- a/guides/source/action_view_overview.textile +++ b/guides/source/action_view_overview.textile @@ -59,7 +59,6 @@ Now we'll create a simple "Hello World" application that uses the +titleize+ met *hello_world.rb:* -require 'rubygems' require 'active_support/core_ext/string/inflections' require 'rack' @@ -94,7 +93,6 @@ Now we'll create the same "Hello World" application in Sinatra. *hello_world.rb:* -require 'rubygems' require 'action_view' require 'sinatra' 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 -require 'rubygems' require 'active_model' class Person -- cgit v1.2.3