Forum: Ruby RoR Active Record question

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
946696209f50381fc280e4c0a85cceb8?d=identicon&s=25 unknown (Guest)
on 2006-02-13 15:13
(Received via mailing list)
Hiya RoR gurus,

I work at a .NET shop, but I enjoy learning Ruby.  So, I wanna
prototype some of our company's screens using Rails (and hopefullly
AJAX).  One thing I'm not sure about, since I'm a noob, is whether
ActiveRecord will get along with our database...

So I have two questions:
  * Can I have ActiveRecord get along with our PascalCase naming
conventions?

  * We ALWAYS have two fields as our primary key: Id and EffectiveYear,
which is an integer containing a year and a version, ie 200600000,
200600001, ...   This is a strict requirement, so can I get
ActiveRecord to do this (easily)?


Thanks in advance,

ZachZ
zachary DOT zolton AT gmail DOT com

Please email me if anyone answers this!!
4dae81fb68a9bfac96317a24982ce039?d=identicon&s=25 Thomas Kirchner (Guest)
on 2006-02-13 16:29
(Received via mailing list)
You'd have more luck asking this question on the Rails mailing list:

http://lists.rubyonrails.org/mailman/listinfo/rails

Tom
This topic is locked and can not be replied to.