John Wilger
3/23/2005 5:53:00 AM
On Wed, 23 Mar 2005 14:43:10 +0900, jm <jeffm@ghostgun.com> wrote:
> to the model class which may not be the correct fix, but at least it
> let me work on it a bit more.
That is the correct fix.
> Anyway, the row name "type"
> clashes/conflicts with the ruby method of the same name. Is there a way
> to change the row mappings so that db column type maps to/from
> Record.rectype or something similar?
It shouldn't be a problem since Object#type is a deprecated method in
Ruby. I'd suggest just sticking with #type unless you run into some
specific problem.
--
Regards,
John Wilger
-----------
Alice came to a fork in the road. "Which road do I take?" she asked.
"Where do you want to go?" responded the Cheshire cat.
"I don't know," Alice answered.
"Then," said the cat, "it doesn't matter."
- Lewis Carrol, Alice in Wonderland