<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" href="/stylesheets/rss.css"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Matt Fawcett : Tag rails3, everything about rails3</title>
    <link>http://matthewfawcett.co.uk</link>
    <atom:link type="application/rss+xml" rel="self" href="http://matthewfawcett.co.uk/tag/rails3.rss"/>
    <language>en-us</language>
    <ttl>40</ttl>
    <description></description>
    <item>
      <title>Rails 3 / Cucumber error | undefined method `parameters' for #&amp;lt;Mail::UnstructuredField:0x2eceecc&amp;gt;</title>
      <description>&lt;p&gt;I was banging my head against the wall when trying to test the sending of an email in a Rails 3 app with Sinatra / Email Spec and getting the following error message:&lt;/p&gt;

&lt;pre&gt;&lt;code&gt;    undefined method `parameters' for #&amp;lt;Mail::UnstructuredField:0x2eceecc&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;p&gt;I was using the latest versions of all the gems in my GemFile and the error did not occur outside of Cucumber. I finally tracked the issue down to the fact that the command line &lt;code&gt;cucumber&lt;/code&gt; in system gems was an old version. This was causing the issue even though the latest cucumber was declared in my GemFile.&lt;/p&gt;

&lt;p&gt;I couldn't find anything through Google for the error message so though I would post here incase anyone else runs into the same problem.&lt;/p&gt;</description>
      <pubDate>Thu, 25 Mar 2010 14:06:00 +0000</pubDate>
      <guid isPermaLink="false">urn:uuid:40bbe1ee-bf56-4b0f-8c97-142d4c59cf01</guid>
      <comments>http://matthewfawcett.co.uk/2010/03/25/rails-3-cucumber-error-undefined-method-parameters-for-mail-unstructured-field#comments</comments>
      <category>cucumber</category>
      <category>rails3</category>
      <link>http://matthewfawcett.co.uk/2010/03/25/rails-3-cucumber-error-undefined-method-parameters-for-mail-unstructured-field</link>
    </item>
  </channel>
</rss>

