Skip to content

Commit f1637bf

Browse files
committed
Remove Active Resource source files from the repository
Dear Active Resource, It's not that I hate you or anything, but you didn't get much attention lately. There're so many alternatives out there, and I think people have made their choice to use them than you. I think it's time for you to have a big rest, peacefully in this Git repository. I will miss you, @sikachu.
1 parent a85714a commit f1637bf

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

68 files changed

+13
-7147
lines changed

Rakefile

+1-7
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ task :build => "all:build"
1313
desc "Release all gems to gemcutter and create a tag"
1414
task :release => "all:release"
1515

16-
PROJECTS = %w(activesupport activemodel actionpack actionmailer activeresource activerecord railties)
16+
PROJECTS = %w(activesupport activemodel actionpack actionmailer activerecord railties)
1717

1818
desc 'Run all tests by default'
1919
task :default => %w(test test:isolated)
@@ -109,11 +109,6 @@ RDoc::Task.new do |rdoc|
109109
rdoc.rdoc_files.include('activerecord/lib/active_record/**/*.rb')
110110
rdoc.rdoc_files.exclude('activerecord/lib/active_record/vendor/*')
111111

112-
rdoc.rdoc_files.include('activeresource/README.rdoc')
113-
rdoc.rdoc_files.include('activeresource/CHANGELOG.md')
114-
rdoc.rdoc_files.include('activeresource/lib/active_resource.rb')
115-
rdoc.rdoc_files.include('activeresource/lib/active_resource/*')
116-
117112
rdoc.rdoc_files.include('actionpack/README.rdoc')
118113
rdoc.rdoc_files.include('actionpack/CHANGELOG.md')
119114
rdoc.rdoc_files.include('actionpack/lib/abstract_controller/**/*.rb')
@@ -157,7 +152,6 @@ task :update_versions do
157152
"activemodel" => "ActiveModel",
158153
"actionpack" => "ActionPack",
159154
"actionmailer" => "ActionMailer",
160-
"activeresource" => "ActiveResource",
161155
"activerecord" => "ActiveRecord",
162156
"railties" => "Rails"
163157
}

actionpack/lib/action_controller/record_identifier.rb

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22

33
module ActionController
44
# The record identifier encapsulates a number of naming conventions for dealing with records, like Active Records or
5-
# Active Resources or pretty much any other model type that has an id. These patterns are then used to try elevate
6-
# the view actions to a higher logical level. Example:
5+
# pretty much any other model type that has an id. These patterns are then used to try elevate the view actions to
6+
# a higher logical level. Example:
77
#
88
# # routes
99
# resources :posts

actionpack/lib/action_view/helpers/url_helper.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def optimize_routes_generation? #:nodoc:
6060
#
6161
# ==== Relying on named routes
6262
#
63-
# Passing a record (like an Active Record or Active Resource) instead of a Hash as the options parameter will
63+
# Passing a record (like an Active Record) instead of a Hash as the options parameter will
6464
# trigger the named route for that record. The lookup will happen on the name of the class. So passing a
6565
# Workshop object will attempt to use the +workshop_path+ route. If you have a nested route, such as
6666
# +admin_workshop_path+ you'll have to call that explicitly (it's impossible for +url_for+ to guess that route).

activemodel/activemodel.gemspec

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ Gem::Specification.new do |s|
55
s.name = 'activemodel'
66
s.version = version
77
s.summary = 'A toolkit for building modeling frameworks (part of Rails).'
8-
s.description = 'A toolkit for building modeling frameworks like Active Record and Active Resource. Rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing.'
8+
s.description = 'A toolkit for building modeling frameworks like Active Record. Rich support for attributes, callbacks, validations, observers, serialization, internationalization, and testing.'
99

1010
s.required_ruby_version = '>= 1.9.3'
1111

0 commit comments

Comments
 (0)