Symlink and 0.14.3


#1

Hi!

I have a little problem with 0.14.3. I followed the
http://wiki.rubyonrails.com/rails/pages/HowtoUseSymLinksToGraftRailsOntoYourWebsite
but it’s not work.
My rails directory is /home/boci/ujautoszalon and I symlinked the public
dir to /home/httpd/htdocs/ujautoszalon2, but it’s not find the
database.yml file.

Here is the whole log:

==============================================

Mysql::Error in Admin/manufacturers#index

Access denied for user: ‘@localhost’ (Using password: NO)

RAILS_ROOT: /home/httpd/htdocs/ujautoszalon2/…/config/…
Application Trace | Framework Trace | Full Trace

/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/vendor/mysql.rb:510:in
read' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/vendor/mysql.rb:152:inreal_connect’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/mysql_adapter.rb:41:in
mysql_connection' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:insend’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:in
connection_without_query_cache=' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/query_cache.rb:54:inconnection=’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:83:in
retrieve_connection' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:251:inconnection’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:741:in
columns' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:753:incolumn_names’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:766:in
column_methods_hash' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:inall_attributes_exists?’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:in
all?' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:ineach’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:in
all?' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:inall_attributes_exists?’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:980:in
method_missing' #{RAILS_ROOT}/app/controllers/application.rb:10:ininit’

/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/vendor/mysql.rb:510:in
read' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/vendor/mysql.rb:152:inreal_connect’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/mysql_adapter.rb:41:in
mysql_connection' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:insend’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:in
connection_without_query_cache=' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/query_cache.rb:54:inconnection=’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:83:in
retrieve_connection' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:251:inconnection’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:741:in
columns' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:753:incolumn_names’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:766:in
column_methods_hash' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:inall_attributes_exists?’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:in
all?' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:ineach’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:in
all?' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:inall_attributes_exists?’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:980:in
method_missing' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:354:insend’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:354:in
call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:350:ineach’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:350:in
call_filters' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:339:inbefore_action’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:331:in
perform_action_without_benchmark' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/benchmarking.rb:69:inperform_action_without_rescue’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/benchmarking.rb:69:in
measure' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/benchmarking.rb:69:inperform_action_without_rescue’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/rescue.rb:82:in
perform_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/base.rb:369:insend’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/base.rb:369:in
process_without_session_management_support' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/session_management.rb:116:inprocess’
/usr/lib/ruby/gems/1.8/gems/rails-0.14.3.2969/lib/dispatcher.rb:38:in
`dispatch’
/home/httpd/htdocs/ujautoszalon2/dispatch.cgi:10

/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/vendor/mysql.rb:510:in
read' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/vendor/mysql.rb:152:inreal_connect’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/mysql_adapter.rb:41:in
mysql_connection' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:insend’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:121:in
connection_without_query_cache=' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/query_cache.rb:54:inconnection=’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/connection_adapters/abstract/connection_specification.rb:83:in
retrieve_connection' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:251:inconnection’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:741:in
columns' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:753:incolumn_names’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:766:in
column_methods_hash' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:inall_attributes_exists?’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:in
all?' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:ineach’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:in
all?' /usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:1021:inall_attributes_exists?’
/usr/lib/ruby/gems/1.8/gems/activerecord-1.13.0.2969/lib/active_record/base.rb:980:in
method_missing' #{RAILS_ROOT}/app/controllers/application.rb:10:ininit’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:354:in
send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:354:incall_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:350:in
each' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:350:incall_filters’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:339:in
before_action' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/filters.rb:331:inperform_action_without_benchmark’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/benchmarking.rb:69:inmeasure’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/benchmarking.rb:69:in
perform_action_without_rescue' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/rescue.rb:82:inperform_action’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/base.rb:369:in
send' /usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/base.rb:369:inprocess_without_session_management_support’
/usr/lib/ruby/gems/1.8/gems/actionpack-1.11.0.2969/lib/action_controller/session_management.rb:116:in
process' /usr/lib/ruby/gems/1.8/gems/rails-0.14.3.2969/lib/dispatcher.rb:38:indispatch’
/home/httpd/htdocs/ujautoszalon2/dispatch.cgi:10

Request

Parameters: None

Show session dump


flash: !ruby/hash:ActionController::Flash::FlashHash {}

Response
Headers: {“cookie”=>[], “Cache-Control”=>“no-cache”}

=============================================

Any idea?

Cow