Displaying 20 results from an estimated 62 matches for "youngbloods".
Did you mean:
youngblood
2005 Jun 14
7
OT: US city proximity search
Does anyone know where I might be able to download/purchase a database of US
cities and their longitude/latitude coordinates? I''d like to provide a
search option on a website that allows users to search by city but include
cities in the surrounding area.
Thanks,
Carl Youngblood
_______________________________________________
Rails mailing list
2005 Oct 14
7
validates_confirmation_of not working
Hello, I''m having a weird problem in my user model. For the
change_password method I have the following:
def change_password(oldpass, newpass, confirmation)
oldpass = self.class.myhash(oldpass)
reload
passhash = self.password
self.password = newpass
self.password_confirmation = confirmation
if valid? and oldpass == passhash
save!
else
# valid?
2005 Jul 23
11
Validation without ActiveRecord
Hello, I followed the instructions at
http://wiki.rubyonrails.com/rails/show/HowToUseValidationsWithoutExtendingActiveRecord
But now I''m having trouble trying to create my form view. Here''s a
brief rundown of what I''ve done:
- Created a class called SearchRequest that extends ValidatingBase and
saved it in a file called search_request.rb and put it in my models
2005 Dec 15
8
How to ensure deletes cascade to associated models?
I have the following models:
class Resume
belongs_to :resume_assignments
end
class User
belongs_to :resume_assignments
end
class ResumeAssignment
has_one :resume
has_one :user
end
When I delete a resume, I want to make sure that its associated
ResumeAssignment gets deleted also. Calling destroy_all to delete
some resumes doesn''t seem to do this. Is there an option that will
2005 Dec 02
4
How to get the count of matching documents
I''m trying to generate a rails pagination helper for some ferret
search results, and I need to know how many total matches there are to
my search query. I don''t see an obvious way of finding this. Any
help would be appreciated.
Thanks,
Carl Youngblood
2003 Dec 14
0
Re: FAX, IAX and *....Maybe I'm dreaming...:-) (Carl Youngblood)
Carl Wrote:
>Hi Jeff,
>I live in Provo and I think I understand the application you're
>referring to. Some folks in my neighborhood have been getting to be the
>beta testers for these cool new fiber links that the city is supposed to
>be laying out. If I only lived a few blocks over, I would be able to
>get one too. Darn. Anyway, I've been following this thread,
2005 Dec 03
3
How to avoid duplicate search results
I seem to be getting the same document multiple times in my search
results. I''m wondering if this is because by default a document is
placed in the search results every time the word you''re looking for
shows up. Is that the way it works?
Thanks,
Carl
2006 Feb 07
1
setting of :key to :id in cFerret
Hi Dave,
I''ve been reading this post below back in December 2005.
Is it possible to set :key to :id in cFerret like suggested below?
Thanks,
Mac
On 12/3/05, Carl Youngblood <carl at youngbloods.org
<http://rubyforge.org/mailman/listinfo/ferret-talk>> wrote:
>* I seem to be getting the same document multiple times in my search
*>* results. I''m wondering if this is because by default a document is
*>* placed in the search results every time the word you''...
2006 May 03
2
Is it safe to delete ferret-write.lck if it is stale?
I''m noticing that ferret-write.lck sometimes stays in my index
directory and throws exceptions whenever someone tries to do a search.
Apparently there are some cases where ferret doesn''t realize that the
file is old and can be deleted. I''m wondering what the best way to
recover from this error is. Am I safe just writing a cron job that
deletes this file if it is over
2005 Dec 16
5
Ordering results by something other than relevance
Along with the contents of the documents in my index, I have stored
the date they were added. I want to search for keywords in the index
but have the results be sorted by their date rather than their
relevance to the keywords. How would I do this in ferret?
Thanks,
Carl
2005 Dec 14
5
Query question
I have an index in which I want different records to be accessible to
different users. I think I can do this by adding a "users" field to
each record in the index and narrow down my queries to only those
records matching the current user''s userid. I have the userids
separated by commas. What would be the right way to query for a
certain user? I have to make sure that I
2005 Dec 02
1
Compile error on FreeBSD 4.10 gcc 2.95.4
...gt; finished by Christmas.
>
> Solution: instead of optimizing your index every time you change it,
> just flush it. This will keep your ActiveRecord model is in sync with
> your index without the large delay.
>
> Cheers,
> Dave
>
> On 12/2/05, Carl Youngblood <carl at youngbloods.org> wrote:
> > I''m noticing some long delays when optimizing my index. I know this
> > is terribly inefficient, but in order to make sure that my
> > ActiveRecord model is in sync with my index, I''m optimizing after
> > every new record that I store, l...
2005 Dec 14
4
Is it possible to highlight search keywords in results?
I''m wondering if ferret has any built-in search/replace mechanism that
I might be able to use to highlight the query data in each search
result. The reason I think this would be a good idea is that I could
end up having to practically duplicate the ferret query parser just to
interpret the query so that I can figure out how to highlight the
keywords in the search results. Just in case
2006 Apr 30
3
Locale not set error when trying to use C version in a rails app
I''m getting a locale not set error. Does anyone know how I should set
my locale in my rails environment so that ferret knows what to do?
Why isn''t this a problem in the ruby version of ferret?
Thanks,
Carl
2006 Jan 17
2
money data types
What data type is best for storing currency? I''m trying to come up
with a reliable cross-database solution for rails that is not too
complicated. Since I''m going to have currency fields all over the
place, I''m not so sure that using two integer fields for each amount
would qualify as uncomplicated. I''d like to be able to use database
functions like SUM to
2006 May 05
3
How to determine if a device is in a call
I have gotten intercom working on my office phones (Linksys SPA-942s),
but I have noticed that if someone is in a call, it places the call on
hold and sends the intercom audio to the person holding the phone that
is being paged. I'd like to add logic to my dialplan that doesn't
send a page to a phone that is currently in a call. But to do this I
need a function that will tell me if a
2003 Nov 27
4
Multi-line TTS Outbound Dialer
Hello,
I've been lurking around the mailing list and browsing around on
Asterisk-related links while I wait for my X100P to come in the mail.
So far I haven't found very much information related to what I want to
do with Asterisk. I was wondering if someone could point me in the
direction of any work that may already have been done on a project
similar to the one I'm trying to
2005 Nov 19
14
FULLTEXT search in MySQL on rails
I tried adding a FULLTEXT search index to a table of mine in MySQL,
only to discover that the InnoDB table format doesn''t seem to support
this feature. Switching to the MyISAM table type seemed to work, but
I seem to have some recollection that ActiveRecord transactions aren''t
fully atomic on MyISAM tables. Is this true or am I just remembering
wrong? If so, does anyone have
2006 Jun 15
3
Problem trying to SayDigits when an invalid extension is dialed
I am trying to modify a fairly complex digital receptionist dialplan
that has a number of included contexts. Right now the system is not
announcing the extension that the caller attempted to dial, so callers
get confused when they think they dialed a valid extension but
asterisk didn't pick everything up. I would like to have the system
announce the entension that they attempted to dial in
2005 Dec 02
8
Ferret 0.3.0 released
Hi folks,
This latest release of Ferret has a lot of improvements. There have
been substantial improvements to performance. Try it for yourself to
see. I won''t be publishing any numbers just yet. I will say though
that it''s still about 2-4 times slower than Lucene with the extension
installed. There is also some performance improvements in the pure
Ruby version if you