On 11/6/07, Paul Johnston <p...
> I've recently switched a fairly big app from ActiveMapper to Elixir and it
> is working great. I really like being able to define foreign keys and
> two-way relations in a single step.
That's always nice to hear!
> Got a couple of suggestions:
> 1) My database names fkeys using an "id" suffix, not "_id" as Elixir
> defaults to. At the moment I have to manually specify colname on each
> ManyToOne. What would be great is to tell Elixir once that the format is
Yes, that would be nice. I'd probably just move the format string to
be a global variable, so that people can override it if they want to
(I'm assuming people usually want the same format across their whole
app, so I think an entity option would be too much trouble). Or did
you have something else in mind?
> 2) ActiveMapper had a "set" method, which was quite convenient, although
> Elixir doesn't have this.
> Any chance of adding these features? If people think they're a good idea, I
> can produce a patch.
Sure, please do.
Gaėtan de Menten http://openhex.org