Displaying 9 results from an estimated 9 matches for "rails112".
2006 Aug 17
3
Ferret locks up when adding items to an index
...rret on the
same platform (Locomotive under OS X) and they''re not seeing the same
behavior. Anyone have any ideas?
I have tried reinstalling Ferret, and both Ferret and Locomotive.
Here''s the difficult to read stack trace:
from /Applications/Locomotive2/Bundles/rails112.locobundle/
i386/lib/ruby/gems/1.8/gems/ferret-0.9.5/lib/ferret/analysis/
tokenizers.rb:49:in `next''
from /Applications/Locomotive2/Bundles/rails112.locobundle/
i386/lib/ruby/gems/1.8/gems/ferret-0.9.5/lib/ferret/analysis/
token_filters.rb:21:in `next''
from /...
2006 Aug 02
4
Model still using mysql
When calling a Result.find_by_content on my model, I get the following
error:
Mysql::Error: Table ''db.results'' doesn''t exist: SHOW FIELDS FROM results
Yes, I remembered to put acts_as_ferret. Any ideas?
Trace:
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/abstract_adapter.rb:120:in
`log''
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter...
2006 Jul 31
0
rescue_action_in_public useless to capture low level errors
...low levers errors like
this one?
Thanks in advance.
Alain Ravet
Error screen contents:
Can''t connect to local MySQL server through socket ''/tmp/mysql.sock''
(2)
RAILS_ROOT: xxx/test_recover/public/../config/..
/Applications/__my/__dev/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapters/mysql_adapter.rb:331:in
`real_connect''
/Applications/__my/__dev/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/connection_adapt...
2006 Jul 28
3
Forms: handle foreign keys (AssociationTypeMismatch)
...ut
when I submit the form, I get the following error:
ActiveRecord::AssociationTypeMismatch in BookingsController#new
Country expected, got String
RAILS_ROOT: /Users/Josh/Webwork/psyguideorg/public/../config/..
Application Trace | Framework Trace | Full Trace
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/associations/association_proxy.rb:134:in
`raise_on_type_mismatch''
/Applications/Locomotive2/Bundles/rails112.locobundle/powerpc/lib/ruby/gems/1.8/gems/activerecord-1.14.2/lib/active_record/associations/belongs...
2006 Jul 11
2
Ferret 0.9.4 C extensions and Macbook Pro
...in/gcc
Reason: image not found
make: *** [analysis.o] Trace/BPT trap
ruby extconf.rb install --remote ferret
creating Makefile
make
gcc -fno-common -O -pipe
-I/Users/ryan/Desktop/building/min/framework/include -fno-common -pipe
-fno-common -fno-common -I.
-I/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-darwin8.6.1
-I/Applications/Locomotive2/Bundles/rails112.locobundle/i386/lib/ruby/1.8/i686-darwin8.6.1
-I. -O -pipe -I/Users/ryan/Desktop/building/min/framework/include -c
analysis.c
make install
gcc -fno-common -O -pipe
-I/Users/ryan/Desktop/building/min/fra...
2006 Sep 25
9
acts_as_ferret highlight
I am getting nil returned when doing the following:
r.highlight(@condition, :field => ''body'')
''r'' is an instance of the a_a_f model. ''body'' is a tokenized saved
field.
I am running latest ferret and a_a_f trunk. Am I doing something wrong?
--
Posted via http://www.ruby-forum.com/.
2006 May 05
3
exception_notification plugin not sending mails in development on localhost
Hi everyone,
So, I''ve got exception_notification working now, but not in
development mode on localhost. In my ApplicationController, I''ve
added:
local_addresses.clear
Shouldn''t that be enough?
Thank you!
Sean
2006 May 31
1
Using caches_action ?
...ned false
Completed in 0.01000 (100 reqs/sec) | DB: 0.00000 (0%) | 200 OK
[http://localhost/forum/view_thread/6]
Fwiw, I''ve changed environment.rb to enable caching (page caching works
fine) with
config.action_controller.perform_caching = true
Dev environment (xp, ruby184, rails112)
Any ideas ?
Erik
--
Posted via http://www.ruby-forum.com/.
2006 Sep 05
0
can't use rake deploy with Capistrano
...=======================================================
the error is:
=======================================================================
** Invoke deploy (first_time)
** Invoke remote:deploy (first_time)
** Execute remote:deploy
loading configuration /Applications/Locomotive2/Bundles/
rails112.locobundle/i386/lib/ruby/gems/1.8/gems/capistrano-1.1.0/lib/
capistrano/recipes/standard.rb
loading configuration ./config/deploy.rb
* executing task deploy
** transaction: start
* executing task update_code
* querying latest revision...
* executing "if [[ ! -d /home/explicad...