this below will work but give me a lot of junk..!!
@vcards = Vcard.find(:all, :select => "`collection-owner`")
as well this:
@vcards = Vcard.find(:all, :select => "'collection-owner'")
but when I call this from a:
<%= render :blablabla, :collection => @vcards %>
and in the _blablabla.rhtml
<tr class="<%= cycle('odd', 'even') -%>">
<td><b><%= @vcards -%></td>
</tr>
I will just get ##### and more garbage..
same when I do with console
can anyone tell me how can I work with column names with "-"
hyphens...????? this is frustrating me.. I loved rails but this is
starting to annoy me..
because I understand that tables should be created such a way but there
should be options to work
with legacy tables and not only table names and indexes but also column
names... I have not found anything so far
and trust me I HAVE LOOK and I am not the best using Google but my last
hope before I finish this project on PHP is this call.
HELP!