On 3/7/06, glassneck <chad@voltaiccommerce.com>
wrote:>
>
> I am migrating to sql server 2000 from postgres and I have tried char(1),
> int, tinyint and bit datatypes to replace booleans, but without luck. the
> 1''s and 0''s are stored properly in the db, but checkboxes
and dropdowns
> are
> not being auto-populated in rails. Anyone experience this before?
>
>
> thanx
> --
> View this message in context:
>
http://www.nabble.com/Sql-Server-2000-booleans-not-working-t1241136.html#a3285183
> Sent from the RubyOnRails Users forum at Nabble.com.
>
> _______________________________________________
> Rails mailing list
> Rails@lists.rubyonrails.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>
Hi.
Use bit. Watch for NULL in the data. ActiveRecord maps true/false for the
values.
I''m not sure what you''re after with
"auto-populating"... I thought
everything was hand-coded in Rails. If you mean scaffolding, scaffolds
don''t know about checkbox.
--
------------------------------
Forget the icing. Bake the Cake!
- the epi-centered developer
------------------------------
Peter Fitzgibbons
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://wrath.rubyonrails.org/pipermail/rails/attachments/20060308/7e1ae527/attachment.html