Displaying 17 results from an estimated 17 matches for "vamsee".
Did you mean:
ramsey
2006 Jan 02
3
Multiple indexes?
Hi,
I''m indexing records from different database tables and they have
identical column names in many cases. Does this mean I have to create
different indexes for each table?
TIA,
Vamsee.
2006 Jan 05
2
ActiveRecord callbacks not happening
...uot;Ferret: after_destroy called"
@@index.query_delete("+id:#{self.id} +ferret_class:#{self.class.name}")
optimize_index
end
end
But when I delete a record, the after_destroy is never called. Nothing
shown on logs from the puts statement. Am I missing something?
Thanks,
Vamsee.
2005 Dec 31
2
Some newbie questions
...HowToIntegrateFerretWithRails" is sometimes not very clear. I would
love to clean it up or create a separate page for ferret on the wiki, if
you guys help me out figuring Ferret. It will be very useful to me and
others.
The plugin version looks much simpler. Where do I start?
Thanks much,
Vamsee.
2005 Dec 18
1
assert_template fails?
...8/gems/actionpack-1.11.2/lib/action_controller/assertions.rb:108:in
`assert_template''
test/functional/search_controller_test.rb:17:in
`test_should_show_search_dropdown''
1 tests, 1 assertions, 0 failures, 1 errors
Anybody can tell me where I''m going wrong?
Thanks,
Vamsee.
2006 Jan 05
6
Problems with Ferret in RForum
Hi,
I have been using Ferret on ruby-forum.com for a few days. While the
searching works with reasonable performance, there are a lot of problems
related to indexing. Sometimes the process hangs with 100% CPU usage,
sometimes it leaves Lockfiles in the directory (causing other processes
to fail while one ist still working), sometimes it even crashes with a
segfault.
I''m going to
2006 Feb 27
2
Migrations - How to set auto increment?
Hi all,
I''d like to know how can I set a field to auto increment in migrate
scripts. In mysql, it''s auto_increment, and in postgresql, it''s serial.
How can I make a migrate script which works in both places?
TIA,
Vamsee.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 10
1
search_each returns partial results?
...ame: a*'') do |doc, score|
?> res << doc
>> end
=> 50
>> res.size
=> 10
>>
I''m guessing the ''=>50'' after search_each indicates that there are 50 documents returned. How come I can only see 10 in the array res?
Thanks much,
Vamsee.
2005 Aug 25
1
newbie questions about hosting address
...yan Daigle)
5. Re: Re: Fear of Commitment (Christopher Singley)
6. Re: global variables (Fran?ois Beausoleil)
7. Re: London on Rails (Matthew Denner)
8. Suggestions for new view renderer - CodePieces (Jan Moli?)
9. different session cookies in app (G?bor SEBESTY?N)
10. Double Render Error: Reason? (Vamsee Kanakala)
----------------------------------------------------------------------
Message: 1
Date: Thu, 25 Aug 2005 15:29:20 +0100
From: Chris Korhonen
Subject: Re: [Rails] London on Rails
To: rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
Message-ID:
Content-Type: text/plain; charset=...
2005 Dec 31
26
Free "Agile Web Development with Rails" Text
Hi All,
I''m a RoR n00b that has been lurking for a week or so. About two weeks
ago I bought the text version of Agile Web Development with Rails.
Today, I bought the .pdf version because I run a Sony Notebook and find
a .pdf more user friendly. Therefore I have the text to give away for
free. If anyone in the continental US would like the copy please let me
know and I''ll mail it
2006 Jan 06
0
Constructing a query from an object
...ct a query from an object? For
example, I''m doing this:
@candidate = Candidate.new(params[:candidate])
And go on to check each attribute if it''s blank and thereby constructing
a query. It''s pretty common, so I''m guessing there should be a easier way.
Thanks,
Vamsee.
2005 Nov 02
1
getting pagination to work on joined tables
As soon as I use Model.find(:all, :include => [...], :limit => 3) I
loose associations and can''t do :conditions on joined tables. I''m not
able to do pagination in such association.
Only solution I came up with is this beast:
# I set up a paginator:
@reos_pages = Paginator.new self,
Reo.count(conds.join('' AND ''),
2005 Nov 19
0
upload_status_for undefined method?
...cationController
auto_complete_for :contact, :name
upload_status_for :create
...
I get this error:
undefined method `upload_status_for'' for ContactsController:Class
How can that be? Isn''t progress bar part of ActionView,
which is installed by default with rails?
||TIA,
Vamsee.
2006 Mar 07
0
Ajax.InPlaceCollectionEditor problems
...in script.aculo.us
1.5.3. I''m able to display the select box properly. However, I''m stumped
on how to send my hidden field as well as the value being edited to my
form. Can anybody also explain how I can use $F or $S to read my hidden
form fields into javascript?
Thanks much,
Vamsee.
--
Posted via http://www.ruby-forum.com/.
2006 Jan 02
11
aligning Ferret''s IndexSearcher.search API with Lucene''s
Recently I''ve been revisiting some of my search code. With a greater
understanding of how Java Lucene implements its search methods, I
realized that one level of abstraction is not present in the Ferret
classes/methods. Here are the relevant method signatures:
Ferret''s search methods:
in Ferret::Index::Index:
search(query, options = {}) -> returns a TopDocs
2006 Mar 07
6
[PATCH] Allow Ajax.InPlaceCollectionEditor to load collection externally
Attached is a patch to allow Ajax.InPlaceCollectionEditor to load the
collection using AJAX.
It adds a new option, loadOptionsURL, which is the URL used to load the
values over the interweb. It expects the server to return
<option></option> values. If one of them has a selected="selected"
attribute, it will probably be pre-selected. Not tested that though.
Also only tested
2005 Nov 16
37
Postgresql vs MySQL
Is there any reason to avoid using postgresql for small web apps? That is, is it''s
overhead so large that the lighter MySQL will work substantially better for small apps on
small machines? Or are they very similar in performance and configuration?
I''ve used MySQL but postgresql has its appeals and I''m wondering if I need to keep MySQL
around at all.
On the other
2006 Apr 30
82
Mongrel 3.15, Ubuntu and Park place (S3)
Hello. I installed under Ubuntu (Dapper) Park Place. I followed the
instructions given at the RedHanded site. I get the following mongrel
error when launching the application:
** Please login in with `admin'' and password `pass@word1''
** You should change the default password or delete the admin at
soonest chance!/usr/lib/ruby/gems/1.8/gems/mongrel-0.3.12.5/lib/mongrel.rb:584:in