Displaying 3 results from an estimated 3 matches for "rek2".
Did you mean:
reg2
2008 Apr 15
4
hyphen on columns name.. help.
I have a issue that I can''t seen to fix.. I search all over.. and a lot
about how to work with legacy *table* names but nothing about *column*
names...
this will not work because of the hyphen:
@vcards = Vcard.find(:all, :select => "collection-owner")
this below will work but give me a lot of junk..!!
@vcards = Vcard.find(:all, :select =>
2008 Apr 11
1
Legacy db and hyphen on column name issue.
Hi I have a table called active
and another one called authreg
I did a one to one relation but it turns out that one of this legacy
database
column name has an hyphen!!! "-" now im screw how can I tell rails
to use it? or make an alias of some sort like with table names.?
@active = Active.new(
:collection-owner => authreg.username,
:time =>
2008 Mar 29
0
Creating front end in RoR of already done DB. need help.
In this link below almost at then end it shows the mysql Schema..
http://jabberd2.xiaoka.com/wiki/InstallGuide/Jabberd2Architecture
Unfurtunally this is hard coded so I can''t create my own table names etc..
how can I or what will I need to add to those tables to make it RoR
compatible?
as of now I get mysql errors when I run
rake db:migrate
thanks.