unknown wrote:
>Couldn't find Actor without an ID
> 
> How can I map my table column's primary key id (called 'actor_id') to
> 'id' in the model file? I've tried using 'id=actor_id', primary_key,
> etc. in my model file (actor.rb) but nothing seems to work seemlessly,
> unless I modify the stubs that're created when I run the ruby
> script\generate scaffold.


This should really be psted on the Rails mailing 
list[http://lists.rubyonrails.org/mailman/listinfo/rails]

Try:
set_primary_key 'Actor_id'

joey__
http://www.feedreed.com


-- 
Posted via http://www.ruby-forum.com/.