Pg 166 of "Build you own Ruby on Rails Web Applications" calls for the code line
resulting in:Code:<%= error_message_for 'story' %>
does any one have any suggestions?Code:NoMethodError in Story#new Showing app/views/story/new.rhtml where line #1 raised: undefined method `error_message_for' for #<#<Class:0x4a5eaac>:0x4a5ea84> Extracted source (around line #1): 1: <%= error_message_for 'story' %> 2: <% form_for :story do |f| %> 3: <p> 4: Name:<br />
Conrad




Bookmarks