Thanks, I'll give it a try tonight.
I have been playing with 2 different databases, the MS SQL that I show
above, and a MySQL that was designed as part of a Rails application.
The CamelCase seems to work fine with the later and converts a
DataChart model to a data_chart table. And I think it was even doing
the expected thing with respect to the pluralization of the
association name (although I've changed things while playing around so
I'm not sure about that last part)


On Sep 1, 3:20 pm, Dave Howell <[email protected]> wrote:
> On Sep 1, 2010, at 8:31 , Jeremy Evans wrote:
>
> > The reason I think it is failing is that by default, sequel
> > uses :upcase for the identifier_input_method and :downcase for
> > the :identifier_output_method on MSSQL.  Since you are using CamelCase
> > identifiers, you definitely don't want that.
>
> Oh! Yes! Man, that messed me up for a few minutes when I first tripped across 
> that.
>
> mjskier, start by changing your code to use Orderitem, not OrderItem. Sequel 
> (sigh) does not like it when you CamelCase your models.

-- 
You received this message because you are subscribed to the Google Groups 
"sequel-talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sequel-talk?hl=en.

Reply via email to