eshuler (3) [Avatar] Offline
#1
undefined local variable or method `csrf_meta_tags' for #<#<Class:0x1037192>
The csrf_meta_tags causes a rails NameError
If I comment out the line everything seems to work. What is happening?

application.html.erb listing
<html>
<head>
<title><%= title %></title>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tags %>
</head>
<body>
<% flash.each do |key, value| %>
<div class='flash' id='<%= key %>'>
<%= value %>
</div>
<% end %>
<%= yield %>
</body>
</html>
eshuler (3) [Avatar] Offline
#2
Re: undefined local variable or method `csrf_meta_tags' for #&lt;#&lt;Class:0x1037192&gt;
Nevermind!
Changed "csrf_meta_tags" to "csrf_meta_tag" We're good now.
I'm using Rails v 3.0.4, noticed the csrf_meta_tags is only for Rails 3.1
ryanbigg (423) [Avatar] Offline
#3
Re: undefined local variable or method `csrf_meta_tags' for #&lt;#&lt;Class:0x1037192&gt;
Yup, because there's now more than one tag smilie