Displaying 3 results from an estimated 3 matches for "boppudi".
2006 Mar 13
3
validates_associated problem
Hello,
I have a situation where an ''employee'' belongs to a ''department'' and
have setup the relationship as follows.
class Employee < ActiveRecord::Base
belongs_to :department, :foregin_key => "department_id"
validates_associated :department_id
end
class Department < ActiveRecord::Base
has_many :employees
def validate_on_update
2006 Nov 19
1
score for wildcard searches
Hello All,
I have a rails app that maintains movie data index and uses
"acts_as_ferret" for search. I ran into an issue with the scoring of
wildcard searches. When I search for word "super*", the record
containing the word "superman" is ranked above the one having just
"super".
Is this normal or am I missing something? Any ideas on how scoring can
be
2006 Feb 15
0
Reading cookies - weird problem
Hello All,
I set a cookie with the following code -
cookies[:test1] = "abc"
..and when I try to read it with @cookies[:test1] in one of my views, I
get a nil string. The only thing that seems to work is
@cookies["test1"].value
Has anyone run into similar issue?
Thanks
- Sree
--
Posted via http://www.ruby-forum.com/.