On 5/1/07, Steen Lehmann <[EMAIL PROTECTED]> wrote:
> Hi everyone,
>
> I'm in the early stages of using JRuby on Rails to build an
> administration webapp for a travel site. So far it's looking
> promising, although I've so far spent most of the time by far working
> out kinks in the configuration.

Thanks for being brave and working through the issues -- I hope we can
squash them all, but it will just take time.

> Anyway, my present problem is that upgrading to ActiveRecord-JDBC
> 0.2.4 seems to introduce an error related to aliasing. I have an alias
> for the column 'udbyderId', which is called 'udbyderid' in the model
> (alias_attribute :udbyderId, :udbyderid).

I think the case-sensitivity of AR-JDBC actually improved (got more
correct) in 0.2.4.  If the actual database column is called udbyderId
(with a capital 'I'), and the aliased version is with the downcased
'i', then I think this is just a case of you having the two attribute
names in the wrong order?  And because AR-JDBC did too much
case-folding, it appeared to work?

Cheers,
/Nick
_______________________________________________
Jruby-extras-devel mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/jruby-extras-devel

Reply via email to