Displaying 4 results from an estimated 4 matches for "longbob".
Did you mean:
longblob
2007 Apr 06
4
Newbie having full text search problem with acts_as_ferret
...am
having problem on three-letter word searches.
I am going to use an example to explain my problem. Here it is:
There is a table called users and it has login, first_name, last_name
columns. There are three rows inside it.
login first_name last_name
bob bob henry
longbob nil nil
existingbob nil nil
Now I am expecting to get all three rows as the search result and my
search query is: "bob OR *bob* OR bob* OR *bob"
However, I am only getting longbob and existingbob rows, not the user
bob.
I have tried many other queries and sti...
2006 Jul 02
2
NoMethodError in Unit Test - Rails Newcomer
...f.hashed_password = Customer.encrypt_password(@password, salt)
end
end
Test: customer_test.rb
require File.dirname(__FILE__) + ''/../test_helper''
class CustomerTest < Test::Unit::TestCase
self.use_instantiated_fixtures = true
fixtures :customers
...
# change password
@longbob.password = @longbob.password_confirmation = "newlongpassword"
assert @longbob.save
c = Customer.new
c.email_address = "jimbo@mcjim.com"
# ok
c.password = c.password_confirmation = "magicwand"
assert c.save
The error I keep getting is this (it happens i...
2006 Apr 13
3
Salted Hash Login Generator problem
Im trying to install salted and get errors when running the rake test...
/usr/bin/ruby1.8 -Ilib:test
"/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader .rb"
"test/unit/localization_test.rb" "test/unit/user_test.rb"
Loaded suite
/usr/lib/ruby/gems/1.8/gems/rake-0.7.0/lib/rake/rake_test_loader
Started
........F....E
Finished in 0.108794 seconds.
1)
2007 Apr 23
0
Unknown column 'role' in field list
...ntInvalid: Mysql::Error: Unknown column ''role'' in
''field list'': INSERT INTO users (`salt`, `hashed_password`, `role`,
`id`, `login`, `email`) VALUES (1000,
''00728d3362c26746ec25963f71be022b152237a9'', ''admin'', 1000003,
''longbob'', ''lbob-pbC8P9QkocYAvxtiuMwx3w@public.gmane.org'')
I''ve also tried to edit other databases with similar errors.
Since I first edited the DB, I reverted the schema and then tried to
change the DB using migrations. I still get the same error. I was
under the imp...