Displaying 1 result from an estimated 1 matches for "mainpart".
Did you mean:
  domainpart
  
2009 Aug 12
5
Challenge for object_id, Garbage Value
I am facing strange problem.
I have an object  @part=MainPart.find(:all)
1.  @part.each_with_index do |mainpart,index|
2.    <p><%= mainpart.object_id%></p>
3.  end
          Here problem is that object_id is reserved for rails. Here
object_id field in my table . Now i want to get value <%=
mainpart.object_id%> is giving GARBAGE VALU...