Displaying 2 results from an estimated 2 matches for "numbers_feed_link".
Did you mean:
numbers_feed_links
2006 May 03
6
ActiveRecord and Lost Connection
...e password
settings correct.
My only thought, I am working with Threads and thought that might cause
the issue, but I removed the threading out of it, so no dice there.
Word: a Count: 270
ERR: invalid process URL state
Mysql::Error: Lost connection to MySQL server during query: SELECT *
FROM numbers_feed_links WHERE (
parsed = ''0'') ORDER BY created_on desc
Here is kind of a unit-test
#
# Berlin Brown
# Used to test active record connection
# Run with:
#
# ruby connect_db.rb
#
require ''active_record''
require ''logger'';
# Use the following to refor...
2006 Apr 30
2
Give me NIL or null results
with this post; with a query with multiple tables, I am trying to return
results that are null in one table; I am trying to do something like this;
class NumbersFeedLink < ActiveRecord::Base
has_many :numbers_sent_feed_link
end
class NumbersSentFeedLink < ActiveRecord::Base
belongs_to :numbers_feed_link
end
sent = NumbersFeedLink.find(:all,
:order => [ "created_on desc" ],
:limit => @max_links_send,
:conditions => [ "numbers_sent_feed_link == nil" ]
)
--
Berlin Brown
(ramaza3 on fr...