title: Magento model ends up with Invalid method xxx::beginTransaction(Array()
body: <p>I am trying to write data to a table in the database. I finally set up my model but I can not write data to it.</p>
  
  <p>I keep getting this error:</p>
  
  <pre><code>Invalid method Turnkeye_Adminform_Model_Mysql4_Iaso::beginTransaction(Array
  (
  )
  )
  
  Trace:
  #0 E:\projects\magento\app\code\core\Mage\Core\Model\Abstract.php(313): Varien_Object-&gt;__call('beginTransactio...', Array)
  #1 E:\projects\magento\app\code\core\Mage\Core\Model\Abstract.php(313): Turnkeye_Adminform_Model_Mysql4_Iaso-&gt;beginTransaction()
  #2 E:\projects\magento\app\code\community\Turnkeye\Adminform\controllers\Adminhtml\AdminformController.php(47): Mage_Core_Model_Abstract-&gt;save()
  #3 E:\projects\magento\app\code\core\Mage\Core\Controller\Varien\Action.php(420): Turnkeye_Adminform_Adminhtml_AdminformController-&gt;saveAction()
  #4 E:\projects\magento\app\code\core\Mage\Core\Controller\Varien\Router\Standard.php(250): Mage_Core_Controller_Varien_Action-&gt;dispatch('save')
  #5 E:\projects\magento\app\code\core\Mage\Core\Controller\Varien\Front.php(176): Mage_Core_Controller_Varien_Router_Standard-&gt;match(Object(Mage_Core_Controller_Request_Http))
  #6 E:\projects\magento\app\code\core\Mage\Core\Model\App.php(347): Mage_Core_Controller_Varien_Front-&gt;dispatch()
  #7 E:\projects\magento\app\Mage.php(640): Mage_Core_Model_App-&gt;run(Array)
  #8 E:\projects\magento\index.php(80): Mage::run('', 'store')
  #9 {main}
  </code></pre>
  
  <p>Because of the amount of code I have posted it to pastebin:</p>
  
  <p><a href="http://pastebin.com/n7bbHPzd" rel="nofollow">controllers/Adminhtml/AdminformController.php</a> </p>
  
  <p><a href="http://pastebin.com/8r8gvvUh" rel="nofollow">etc/config.xml</a></p>
  
  <p><a href="http://pastebin.com/pTsQ9XzH" rel="nofollow">etc/adminhtml.xml</a></p>
  
  <p><a href="http://pastebin.com/TZcVhz0t" rel="nofollow">Model/iaso.php</a></p>
  
  <p><a href="http://pastebin.com/4era02v2" rel="nofollow">Model/Mysql4/Iaso.php</a></p>