<div dir="ltr"><div><div><div>Hello all,<br><br>I have the following code:<br><a href="http://bin.cakephp.org/view/2135184996">http://bin.cakephp.org/view/2135184996</a><br><br></div>When I compile and reload the records, this is what happens:<br>
<br>14> c(mnesia).<br>{ok,mnesia}<br>15> rr("records.hrl").<br>[planemo,tower]<br>16> mnesia:setup().<br>** exception error: undefined function mnesia:create_schema/1<br>     in function  mnesia:setup/0 (mnesia.erl, line 25)<br>
<br></div>The function _does_ exist in the mnesia module.  I checked the docs and I'm running 16B03, so it's there.  But why this error?<br><br></div>Also, I have an another question.  Lets say I'm testing some code and I comment out where I'm calling a function (located in the same file.)  How can I tell the compiler to not worry about this file not being called?  I know I can for variables such as _Variable, but methods?<br>
</div>