Usha Murali
2008-Jan-31 10:52 UTC
Using the RoR ORM technique, I am not able to create a new row for some tables
Hi all, Using the RoR ORM technique, I am not able to create a new row for some tables (ie Mytable.new or Mytable.create mwthods does not work), while at the same time i can do the same for some other tables. Please can anyone educate me what is the reason for this. TIA Usha --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
Allan
2008-Jan-31 13:41 UTC
Re: Using the RoR ORM technique, I am not able to create a new row for some tables
On Jan 31, 10:52 am, "Usha Murali" <ushapram...-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi all, > > Using the RoR ORM technique, I am not able to create a new row for > some tables (ie Mytable.new or Mytable.create mwthods does not work), > while at the same time i can do the same for some other tables. Please > can anyone educate me what is the reason for this.Maybe some error messages or example code might help? Perhaps your table doesn''t exist? Are you saving the new object? Allan --~--~---------~--~----~------------~-------~--~----~ 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 rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---