On 10/9/07, <b class="gmail_sendername">Gonzalo Garramuņo</b> &lt;<a href="mailto:ggarra@advancedsl.com.ar">ggarra@advancedsl.com.ar</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I have a project I am now developing with masterview and I run into a<br>problem right away.<br><br>1)&nbsp;&nbsp;Basically, the issue I have is that:<br><br>script/generate masterview MyModel<br><br>generates empty .html files for some models.&nbsp;&nbsp;Funny enough, I can verify
<br>masterview works, as it generates proper views for one of my models, but<br>not the others.<br>The database tables are called videos (works), audios and images (don&#39;t<br>work).<br><br>Needless to say, using:<br><br>
script/generate scaffold Audio<br><br>works fine.</blockquote><div><br></div></div><br><br><br>Gonzalo,<br><br>After looking into the masterview generator issue with your table, it turns out the problem was that we did not implement a generate method for boolean fields which your Audio table had. I also noticed that we didn&#39;t have a method for time fields.
<br><br>So I have added a boolean and time_select generate methods to the generator which fixed the problem.<br><br>I have checked the code into the trunk.<br><br>So would you mind installing the latest code from the trunk and test to see if this fixes your problems. You can do this by going to your railsapp directory and executing
<br><br><pre class="code">script/plugin install svn://rubyforge.org/var/svn/masterview/trunk/masterview</pre><br>If this indeed fixes your problem then it will become part of the next release (0.3.5).<br><br>Let me know if this resolves things for you or causes you any other problems.
<br><br>Thanks,<br><br>Jeff<br><br><br clear="all"><br>-- <br>Jeff Barczewski, MasterView core team<br>Inspired Horizons Ruby on Rails Training and Consultancy<br><a href="http://inspiredhorizons.com/">http://inspiredhorizons.com/
</a>