<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -412,7 +412,7 @@ module ActionController #:nodoc:
       # More methods can be hidden using &lt;tt&gt;hide_actions&lt;/tt&gt;.
       def hidden_actions
         unless read_inheritable_attribute(:hidden_actions)
-          write_inheritable_attribute(:hidden_actions, ActionController::Base.public_instance_methods.map(&amp;:to_s))
+          write_inheritable_attribute(:hidden_actions, ActionController::Base.public_instance_methods.map { |m| m.to_s })
         end
 
         read_inheritable_attribute(:hidden_actions)
@@ -420,12 +420,12 @@ module ActionController #:nodoc:
 
       # Hide each of the given methods from being callable as actions.
       def hide_action(*names)
-        write_inheritable_attribute(:hidden_actions, hidden_actions | names.map(&amp;:to_s))
+        write_inheritable_attribute(:hidden_actions, hidden_actions | names.map { |name| name.to_s })
       end
 
-      ## View load paths determine the bases from which template references can be made. So a call to
-      ## render(&quot;test/template&quot;) will be looked up in the view load paths array and the closest match will be
-      ## returned.
+      # View load paths determine the bases from which template references can be made. So a call to
+      # render(&quot;test/template&quot;) will be looked up in the view load paths array and the closest match will be
+      # returned.
       def view_paths
         @view_paths || superclass.view_paths
       end
@@ -1201,7 +1201,7 @@ module ActionController #:nodoc:
       end
 
       def self.action_methods
-        @action_methods ||= Set.new(public_instance_methods.map(&amp;:to_s)) - hidden_actions
+        @action_methods ||= Set.new(public_instance_methods.map { |m| m.to_s }) - hidden_actions
       end
 
       def add_variables_to_assigns</diff>
      <filename>actionpack/lib/action_controller/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -127,9 +127,9 @@ module ActionController #:nodoc:
 
         def included_in_action?(controller, options)
           if options[:only]
-            Array(options[:only]).map(&amp;:to_s).include?(controller.action_name)
+            Array(options[:only]).map { |o| o.to_s }.include?(controller.action_name)
           elsif options[:except]
-            !Array(options[:except]).map(&amp;:to_s).include?(controller.action_name)
+            !Array(options[:except]).map { |o| o.to_s }.include?(controller.action_name)
           else
             true
           end
@@ -544,13 +544,21 @@ module ActionController #:nodoc:
       # Returns all the before filters for this class and all its ancestors.
       # This method returns the actual filter that was assigned in the controller to maintain existing functionality.
       def before_filters #:nodoc:
-        filter_chain.select(&amp;:before?).map(&amp;:method)
+        filters = []
+        filter_chain.each do |filter|
+          filters &lt;&lt; filter.method if filter.before?
+        end
+        filters
       end
 
       # Returns all the after filters for this class and all its ancestors.
       # This method returns the actual filter that was assigned in the controller to maintain existing functionality.
       def after_filters #:nodoc:
-        filter_chain.select(&amp;:after?).map(&amp;:method)
+        filters = []
+        filter_chain.each do |filter|
+          filters &lt;&lt; filter.method if filter.after?
+        end
+        filters
       end
     end
 </diff>
      <filename>actionpack/lib/action_controller/filters.rb</filename>
    </modified>
    <modified>
      <diff>@@ -1145,7 +1145,7 @@ module ActiveRecord
           end
 
           define_method(&quot;#{reflection.name.to_s.singularize}_ids&quot;) do
-            send(reflection.name).map(&amp;:id)
+            send(reflection.name).map { |record| record.id }
           end
         end
 
@@ -1490,7 +1490,7 @@ module ActiveRecord
           sql &lt;&lt; &quot; FROM #{connection.quote_table_name table_name} &quot;
 
           if is_distinct
-            sql &lt;&lt; distinct_join_associations.collect(&amp;:association_join).join
+            sql &lt;&lt; distinct_join_associations.collect { |assoc| assoc.association_join }.join
             add_joins!(sql, options, scope)
           end
 </diff>
      <filename>activerecord/lib/active_record/associations.rb</filename>
    </modified>
    <modified>
      <diff>@@ -14,7 +14,7 @@ module ActiveRecord
         # If using a custom finder_sql, scan the entire collection.
         if @reflection.options[:finder_sql]
           expects_array = args.first.kind_of?(Array)
-          ids           = args.flatten.compact.uniq.map(&amp;:to_i)
+          ids           = args.flatten.compact.uniq.map { |arg| arg.to_i }
 
           if ids.size == 1
             id = ids.first</diff>
      <filename>activerecord/lib/active_record/associations/association_collection.rb</filename>
    </modified>
    <modified>
      <diff>@@ -61,9 +61,9 @@ module ActiveRecord
         def delete_records(records)
           case @reflection.options[:dependent]
             when :destroy
-              records.each(&amp;:destroy)
+              records.each { |r| r.destroy }
             when :delete_all
-              @reflection.klass.delete(records.map(&amp;:id))
+              @reflection.klass.delete(records.map { |record| record.id })
             else
               ids = quoted_record_ids(records)
               @reflection.klass.update_all(</diff>
      <filename>activerecord/lib/active_record/associations/has_many_association.rb</filename>
    </modified>
    <modified>
      <diff>@@ -70,6 +70,6 @@ class Module
   # Returns the names of the constants defined locally rather than the
   # constants themselves. See &lt;tt&gt;local_constants&lt;/tt&gt;.
   def local_constant_names
-    local_constants.map(&amp;:to_s)
+    local_constants.map { |c| c.to_s }
   end
 end</diff>
      <filename>activesupport/lib/active_support/core_ext/module/introspection.rb</filename>
    </modified>
    <modified>
      <diff>@@ -35,7 +35,7 @@ class Object
   #   C.new(0, 1).instance_variable_names # =&gt; [&quot;@y&quot;, &quot;@x&quot;]
   if RUBY_VERSION &gt;= '1.9'
     def instance_variable_names
-      instance_variables.map(&amp;:to_s)
+      instance_variables.map { |var| var.to_s }
     end
   else
     alias_method :instance_variable_names, :instance_variables</diff>
      <filename>activesupport/lib/active_support/core_ext/object/instance_variables.rb</filename>
    </modified>
    <modified>
      <diff>@@ -387,7 +387,7 @@ module ActiveSupport #:nodoc:
     ensure
       # Remove the stack frames that we added.
       if defined?(watch_frames) &amp;&amp; ! watch_frames.blank?
-        frame_ids = watch_frames.collect(&amp;:object_id)
+        frame_ids = watch_frames.collect { |frame| frame.object_id }
         constant_watch_stack.delete_if do |watch_frame|
           frame_ids.include? watch_frame.object_id
         end
@@ -437,7 +437,7 @@ module ActiveSupport #:nodoc:
     protected
       def log_call(*args)
         if defined?(RAILS_DEFAULT_LOGGER) &amp;&amp; RAILS_DEFAULT_LOGGER &amp;&amp; log_activity
-          arg_str = args.collect(&amp;:inspect) * ', '
+          arg_str = args.collect { |arg| arg.inspect } * ', '
           /in `([a-z_\?\!]+)'/ =~ caller(1).first
           selector = $1 || '&lt;unknown&gt;'
           log &quot;called #{selector}(#{arg_str})&quot;</diff>
      <filename>activesupport/lib/active_support/dependencies.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>11252e35b1756b025d8778c151f9f9a24057d1b1</id>
    </parent>
  </parents>
  <author>
    <name>Cheah Chu Yeow</name>
    <email>chuyeow@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/ce4a1bb8538bd7cc5ee3cbf1156dc587482a7839</url>
  <id>ce4a1bb8538bd7cc5ee3cbf1156dc587482a7839</id>
  <committed-date>2008-07-09T10:42:30-07:00</committed-date>
  <authored-date>2008-06-25T19:21:53-07:00</authored-date>
  <message>Remove some Symbol#to_proc usage in runtime code.  [#484 state:resolved]</message>
  <tree>0730d2ed46c4dd77b5ed141d37e9e41952b5c68b</tree>
  <committer>
    <name>Jeremy Kemper</name>
    <email>jeremy@bitsweat.net</email>
  </committer>
</commit>
