Displaying 4 results from an estimated 4 matches for "valiable".
Did you mean:
avaliable
2006 Mar 13
2
HowToHandleMultipleRelationshipsBetweenTables?
...like this:
class Relationship < ActiveRecord::Base
belongs_to :relationshiptype, :foreign_key => "relnshiptype"
belongs_to :relationshiptype, :foreign_key => "inverserelnshiptype"
end
It doesn''t work because I think you can''t specify the same model
valiable? "relationshiptype" more than once.
The table is "relationshiptype" and the Class is therefore
"Relationshiptype".
How can the "belongs_to" argument be anything but ":relationshiptype".
Can any one clue me in on how to get around this.
Regards...
2006 Mar 16
6
Newbie question - Rails without database
Hello to all,
I am entirely new to Ruby and also to Ruby on Rails. As far as I understand,
Rails builds its model according to the a specified table structuree in in the
database.
However, most of my applications, are for the most part (except some backend
CRUD stuff) not database centric. They do a lot of calculation for the user.
So, how can I create a model, when no database is needed,
2001 Jan 16
1
TINC and REDHAT
G'day,
I've just downloaded the tinc-1.0pre3 and compiled it - it seems to work
fine.
I tried your tinc start script in the redhat directory, first adding the
MyOwnVPNIP = 10.1.3.1/16
VpnMask = 255.255.0.0
to my tinc.conf file as suggested.
But now when TINC is invoked, tinc exits with the following error.
[root@platypus tinc-1.0pre3]# /usr/local/sbin/tincd -n wurley.vpn
Failed to
2006 Jun 14
2
How to do routing ?
Hi folks,
I am working in Fedora Core 2 Linux, and using Apache 2.0 and mod_fastcgi,
as per mentioned in the following link, to support Rails.
http://wiki.rubyonrails.org/rails/pages/RailsOnFedora
I had created virtual host and specified the path to my application''s
/var/www/html/myapp/public/ directory as a value for DocumentRoot
directives.
Now what is happening is that,
my