Ruby on Rails Monday, July 8, 2013

Colin Law wrote in post #1114588:
> It is likely that he is getting all records back (as shown by #count)
> and that 138 is the lowest id.


Nope:)

The reason I noticed is that when I did a find all I wasn't getting new
records that had been added.

However, if I get the new records by their id they definitely exist.

It's got odder this morning, there are now 155 records, and a find all
returns the latest records, however records id 139 to 145 are missing!
Again, I can get them by id.

But using Webmin to list the records, I get exactly the same result - so
it is looking like a database issue.

--
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 unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/c2e5fd8bc9b47f38000e3562a8604621%40ruby-forum.com.
For more options, visit https://groups.google.com/groups/opt_out.

No comments:

Post a Comment