Displaying 5 results from an estimated 5 matches for "db_develop".
2008 Apr 05
3
MySQL Unit Test Login Failure
...un rake test:units, I
get "Access denied for user ''root@localhost'' using password: NO".
My database.yml file is configured to use the ODBC login, but it''s not
being passed to my unit tests. Any ideas?
development:
adapter: mysql
encoding: utf8
database: db_development
username: ODBC
password:
socket: /tmp/mysql.sock
test:
adapter: mysql
encoding: utf8
database: db_test
username: ODBC
password:
socket: /tmp/mysql.sock
--
Posted via http://www.ruby-forum.com/.
--~--~---------~--~----~------------~-------~--~----~
You received this message...
2008 Jun 03
11
rake db:migrate not working
When I run the rake db:migrate command, I get this:
C:\testror\depot>rake db:migrate --trace
(in C:/testror/depot)
** Invoke db:migrate (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:migrate
rake aborted!
182: Le systÞme d''exploitation ne peut pas exÚcuter %1. - c:/ruby/
lib/ruby/gem
2007 Jan 18
4
Problem with encoding - characters such as öäü
Hi
I''m trying to use german characters on a ruby on rails application, but
for get ? on dropwdown menus. The database, tables and fields are
encoded utf8_general_ci. I have this in my application controller:
class ApplicationController < ActionController::Base
before_filter :set_charset
before_filter :configure_charsets
def set_charset
@headers["Content-Type"] =
2006 Jan 22
2
a newbie doomed in the first introduction to ruby.
Hello,
I have bought the Dave Thomas Agile Developtment with Rails. (I have
previously bought and read his Programming with Ruby book)
On my winxp sp2 system ruby 1.8.15 (one click installer), rails
1.0framework (with ruby gems) and mysql
5.0 are installed.
While following the example stated in the Chapter Building an Application I
had following problem.
After creating databases for test,
2006 Jan 22
2
a newbie doomed in the first introduction to rails.
...ill need to be adjusted if the databases do not all have the same user name
> and password.
>
> authentication: &authentication
> adapter: mysql
> host: host_name_here
> username: user_name_here
> password: mysql_password_here
>
> development:
> database: db_development
> <<: *authentication
>
> test:
> database: db_test
> <<: *authentication
>
> production:
> database: db_production
> <<: *authentication
>
> On 1/21/06, John McGrath <jmcgrath@whoi.edu> wrote:
>
> > sounds like a mysql...