<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -4,6 +4,7 @@
 
   # Instead of render(:action =&gt; 'other_action')
   render('other_action') # argument has no '/'
+  render(:other_action)
 
   # Instead of render(:template =&gt; 'controller/action')
   render('controller/action') # argument must not begin with a '/', but contain a '/'</diff>
      <filename>actionpack/CHANGELOG</filename>
    </modified>
    <modified>
      <diff>@@ -859,14 +859,14 @@ module ActionController #:nodoc:
       def render(options = nil, extra_options = {}, &amp;block) #:doc:
         raise DoubleRenderError, &quot;Can only render or redirect once per action&quot; if performed?
 
-        validate_render_arguments(options, extra_options)
+        validate_render_arguments(options, extra_options, block_given?)
 
         if options.nil?
           return render(:file =&gt; default_template, :layout =&gt; true)
         elsif options == :update
           options = extra_options.merge({ :update =&gt; true })
-        elsif options.is_a?(String)
-          case options.index('/')
+        elsif options.is_a?(String) || options.is_a?(Symbol)
+          case options.to_s.index('/')
           when 0
             extra_options[:file] = options
           when nil
@@ -1193,8 +1193,8 @@ module ActionController #:nodoc:
         end
       end
 
-      def validate_render_arguments(options, extra_options)
-        if options &amp;&amp; options != :update &amp;&amp; !options.is_a?(String) &amp;&amp; !options.is_a?(Hash)
+      def validate_render_arguments(options, extra_options, has_block)
+        if options &amp;&amp; (has_block &amp;&amp; options != :update) &amp;&amp; !options.is_a?(String) &amp;&amp; !options.is_a?(Hash) &amp;&amp; !options.is_a?(Symbol)
           raise RenderError, &quot;You called render with invalid options : #{options.inspect}&quot;
         end
 </diff>
      <filename>actionpack/lib/action_controller/base.rb</filename>
    </modified>
    <modified>
      <diff>@@ -304,6 +304,10 @@ class TestController &lt; ActionController::Base
     render &quot;hello_world&quot;, :layout =&gt; &quot;standard&quot;
   end
 
+  def layout_test_with_different_layout_and_symbol_action
+    render :hello_world, :layout =&gt; &quot;standard&quot;
+  end
+
   def rendering_without_layout
     render :action =&gt; &quot;hello_world&quot;, :layout =&gt; false
   end
@@ -1057,11 +1061,16 @@ class RenderTest &lt; ActionController::TestCase
     assert_equal &quot;&lt;html&gt;Hello world!&lt;/html&gt;&quot;, @response.body
   end
 
-  def test_layout_test_with_different_layout
+  def test_layout_test_with_different_layout_and_string_action
     get :layout_test_with_different_layout_and_string_action
     assert_equal &quot;&lt;html&gt;Hello world!&lt;/html&gt;&quot;, @response.body
   end
 
+  def test_layout_test_with_different_layout_and_symbol_action
+    get :layout_test_with_different_layout_and_symbol_action
+    assert_equal &quot;&lt;html&gt;Hello world!&lt;/html&gt;&quot;, @response.body
+  end
+
   def test_rendering_without_layout
     get :rendering_without_layout
     assert_equal &quot;Hello world!&quot;, @response.body</diff>
      <filename>actionpack/test/controller/render_test.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>cd1d6e8768ae13b11bc343701037b20ad35e6f1e</id>
    </parent>
  </parents>
  <author>
    <name>Pratik Naik</name>
    <email>pratiknaik@gmail.com</email>
  </author>
  <url>http://github.com/rails/rails/commit/80307c8b0a889acc7abb7f4e52fd4c02e1063ba8</url>
  <id>80307c8b0a889acc7abb7f4e52fd4c02e1063ba8</id>
  <committed-date>2008-12-25T17:12:11-08:00</committed-date>
  <authored-date>2008-12-25T17:03:18-08:00</authored-date>
  <message>Make ActionController#render(symbol) behave same as ActionController#render(string) [#1435]</message>
  <tree>c4cb570b8f29a63408c3b74f2cbedd383c48d237</tree>
  <committer>
    <name>Pratik Naik</name>
    <email>pratiknaik@gmail.com</email>
  </committer>
</commit>
