Displaying 2 results from an estimated 2 matches for "voornaam".
2008 Jan 23
1
Making Parents object attributes available
Hello,
I have a class Person
class Persoon < ActiveRecord::Base
set_table_name "Persoon"
set_primary_key "p_persoon"
has_many :adres, :class_name => "Adres"
composed_of :name, :class_name => Name, :mapping => [ [:naam,:naam],
[:voornaam,:voornaam], [:voornaam2,:voornaam2],
[:persnickname,:persnickname], [:perssortname,:perssortname] ]
def somemethod(string)
...
end
end
and a child class Student (which is a person)
class Student < Person
set_table_name "Student"
set_primary_key "p_persoon"...
2008 Feb 19
2
sending mail [not the ActionMailer way?]
Hi folks,
I''ve recently stepped away from PHP web dev and I''m trying out ROR now.
I like it so far. But there''s something I cannot figure out on my own.
Searching on the API of ROR and Google about the possibilities of
sending emails with ROR only gave me the ActionMailer way of sending
mails. What I want to do is to send a mail where the body is submitted
by a user.