On 3/21/06, Ed C. <[EMAIL PROTECTED]> wrote:
> What about surrounding the AS clause with square brackets, like
> "dbo.Users AS [dbo.Users] ?
Rails truncates table alias names in one spot, making this a dead
simple change to make. Try this in a plugin:
ActiveRecord::ConnectionAdapters::SQLServerA
What about surrounding the AS clause with square brackets, like
"dbo.Users AS [dbo.Users] ?
On 3/20/06, Jeff Berg <[EMAIL PROTECTED]> wrote:
> Yeah, you can't have a period in an Alias. I don't see how this would
> hurt anyone but maybe it would be better to replace the periods with
> underscores
Hi all,
I need to work with Rails on a legacy database that does not follow
Rails convention (the primary key name for example is Id instead of id).
To be able to make it works, I changed the default primary key name
using the ActiveRecord::Base::set_primary_key function, and it works
great.
How
Hello James,
2006/3/21, James Adam <[EMAIL PROTECTED]>:
> I have seen this error recently - have you updated to the latest
> version of Engines trunk? It stems from a recursive failure during the
> redefinition of require_or_load, because the Rails::VERSION module
> wasn't already loaded. It shoul
I have seen this error recently - have you updated to the latest
version of Engines trunk? It stems from a recursive failure during the
redefinition of require_or_load, because the Rails::VERSION module
wasn't already loaded. It should be fixed in the latest trunk.
- james
On 3/21/06, Francois Be
http://dev.rubyonrails.org/changeset/3981
?!?
The changes are a rename of RailsInfoController to
Rails::InfoController. That seems to be completely unrelated to this
error:
$ ruby script\server
=> Booting WEBrick...
./script/../config/../vendor/rails/activesupport/lib/active_support/inflector.r