Siddick Ebramsha wrote:
> Use the set_primary_key method.

I used this method as follows

class Item < ActiveRecord::Base
  set_table_name 'item'
  set_primary_key 'id_field'
end

and now its working properly,
Thanks you,
for your good response!!!!!!
Keep responding me.....
-- 
Posted via http://www.ruby-forum.com/.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: 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/rubyonrails-talk?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to