On 1 February 2012 09:22, amvis <vgrkrishnan@gmail.com> wrote:
Please don't top post, it makes it difficult to follow the thread.
Insert your reply at appropriate points in previous message. Thanks.
> Thanks for the reply.
>
> Exactly what going on here is now,after the execution of one insertion
> some amount of data will insert, around 172 rows
Is that what you expect or is that part of the problem?
>, but after i truncate the
> tables
What do you mean by truncate the tables? Do you mean you have removed
all the rows?
>, again when i execute that operation, the row count starting from
> 173
If there are still records in the database then you have not removed them.
>... i think that happens of new object creation for each transaction...
> Also i want to know... how to do the one time object creation for all
> insertion in that code...?
Sorry, I still don't understand exactly what you want. Please try and
write very carefully a bit at a time exactly what happens and what you
are want to happen.
Colin
--
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@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment